Skip to content

Fixed scripts for current WhatApp tables#3

Open
MrBarbie wants to merge 11 commits intoSenCodeMaker:mainfrom
MrBarbie:main
Open

Fixed scripts for current WhatApp tables#3
MrBarbie wants to merge 11 commits intoSenCodeMaker:mainfrom
MrBarbie:main

Conversation

@MrBarbie
Copy link
Copy Markdown

Fixed scripts to work with current database formate as of Early Oct 2022
Main changes accounted for:
messages renamed to message
plural messages_vcard/s renamed to message_vcard/

Should fix problems in #1

Added lines to update new `message_quoted` which is presummably the new `messages_quotes`.
I believe it has now depreciated quoted_row_id and simplified it to a combination of `message_row_id` and `chat_row_id` to identify msgs it quoted
Depluralised `messages`, `messages_links`, `messages_vcards`, `messages_vcards_jids` tables and removed reference to old `messages_quotes` table
Removed pluralised messages and related tables (`messages`, `messages_links`, `messages_vcards`, `messages_vcards_jids`, `messages_quotes`) 
Left the duplicated legacy ones in there to preserve the case where older tables get merged, such that data should still be in there. Unknown if it will be read properly or used.
Also adjust `sort_id` incase that causes any issues
Fixed `message_quoted` typo from commit 863c02d
Grouped legacy tables which will throw errors at the end
Standardise path name within scripts to be consistent and descriptive
Standardise path name within scripts to be consistent and descriptive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant