diff --git a/docs/db_struct.sql b/docs/db_struct.sql index 600c007..c61734d 100644 --- a/docs/db_struct.sql +++ b/docs/db_struct.sql @@ -242,6 +242,7 @@ CREATE TABLE `utilisateurs` ( `delete_conversation_messages_after` int DEFAULT '0', `delete_likes_after` int DEFAULT '0', `allow_notif_conv` int DEFAULT '1', + `allow_notif_sound` 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 c1008e7..746a760 100644 --- a/docs/migration.sql +++ b/docs/migration.sql @@ -1,3 +1,5 @@ -- User table ALTER TABLE `utilisateurs` ADD COLUMN `allow_notif_conv` INT NULL DEFAULT 1 AFTER `delete_likes_after`; +ALTER TABLE `utilisateurs` + ADD COLUMN `allow_notif_sound` INT NULL DEFAULT 1 AFTER `allow_notif_conv`;