diff --git a/docs/db_struct.sql b/docs/db_struct.sql index c2e0083..600c007 100644 --- a/docs/db_struct.sql +++ b/docs/db_struct.sql @@ -241,6 +241,7 @@ CREATE TABLE `utilisateurs` ( `delete_posts_after` int DEFAULT '0', `delete_conversation_messages_after` int DEFAULT '0', `delete_likes_after` int DEFAULT '0', + `allow_notif_conv` int DEFAULT '1', PRIMARY KEY (`ID`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4; diff --git a/docs/migration.sql b/docs/migration.sql index 9bd68c6..c1008e7 100644 --- a/docs/migration.sql +++ b/docs/migration.sql @@ -1,6 +1,3 @@ --- Groups table -ALTER TABLE `comunic_groups` - ADD COLUMN `is_members_list_public` TINYINT(1) NULL DEFAULT 0 AFTER `url`; - -ALTER TABLE `comunic_conversations_list` - ADD COLUMN `min_group_membership_level` INT NULL AFTER `group_id`; +-- User table +ALTER TABLE `utilisateurs` + ADD COLUMN `allow_notif_conv` INT NULL DEFAULT 1 AFTER `delete_likes_after`;