mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-11-22 21:39:21 +00:00
Update database structure
This commit is contained in:
parent
2b2b1c9755
commit
e725d24104
@ -242,6 +242,7 @@ CREATE TABLE `utilisateurs` (
|
|||||||
`delete_conversation_messages_after` int DEFAULT '0',
|
`delete_conversation_messages_after` int DEFAULT '0',
|
||||||
`delete_likes_after` int DEFAULT '0',
|
`delete_likes_after` int DEFAULT '0',
|
||||||
`allow_notif_conv` int DEFAULT '1',
|
`allow_notif_conv` int DEFAULT '1',
|
||||||
|
`allow_notif_sound` int DEFAULT '1',
|
||||||
PRIMARY KEY (`ID`)
|
PRIMARY KEY (`ID`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4;
|
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4;
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
-- User table
|
-- User table
|
||||||
ALTER TABLE `utilisateurs`
|
ALTER TABLE `utilisateurs`
|
||||||
ADD COLUMN `allow_notif_conv` INT NULL DEFAULT 1 AFTER `delete_likes_after`;
|
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`;
|
||||||
|
Loading…
Reference in New Issue
Block a user