mirror of
https://github.com/B16f00t/whapa.git
synced 2026-04-26 11:25:56 +03:00
[GH-ISSUE #152] thank you, & 2 issues. #136
Labels
No labels
enhancement
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whapa#136
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @andwan0 on GitHub (Jan 3, 2022).
Original GitHub issue: https://github.com/B16f00t/whapa/issues/152
BIG THANK YOU to original authors/collab/developers putting this toolkit together.
I have 2 versions of the same DB (old original... and a new version but with lots of chats deleted).
I notice we can use try/catch around each for loop BODY. This will just bypass duplicates if the id/row already exists. (kinda like an update in a file/folder diff/compare app).
I notice we are trying to insert into a database VIEW. This is readonly?
ISSUE 1: We can manually eyeball and sync the table col headers (some tables have new cols). Am I right we can include ALL the columns? ie new columns?
ISSUE 2: Currently we are merging 4 main tables (messages, thumbnails, chat, quotes). But there are other tables (calls, etc.). Can I copy the logic and merge these tables too?
@B16f00t commented on GitHub (Feb 3, 2022):
You can merge all the tables you are interested in.
When I created the 'merge', I made it partial only with the tables of interest to get the chats, not to restore backups.
If someone wants to update the code, I'll do a PR without problem