core: only update business chat preferences (#5325)

* core: only update business chat preferences

* rework

* migration

* test, bump protocol version

* fix tests
This commit is contained in:
Evgeny
2024-12-05 18:32:00 +00:00
committed by GitHub
parent de76e271a8
commit 60e0e454e8
12 changed files with 201 additions and 60 deletions
+2 -1
View File
@@ -130,7 +130,8 @@ CREATE TABLE groups(
ui_themes TEXT,
business_member_id BLOB NULL,
business_chat TEXT NULL,
business_xcontact_id BLOB NULL, -- received
business_xcontact_id BLOB NULL,
customer_member_id BLOB NULL, -- received
FOREIGN KEY(user_id, local_display_name)
REFERENCES display_names(user_id, local_display_name)
ON DELETE CASCADE