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
a7bc93031a
commit
7ec2c500e3
@ -241,6 +241,7 @@ CREATE TABLE `utilisateurs` (
|
|||||||
`delete_posts_after` int DEFAULT '0',
|
`delete_posts_after` int DEFAULT '0',
|
||||||
`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',
|
||||||
PRIMARY KEY (`ID`)
|
PRIMARY KEY (`ID`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4;
|
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4;
|
||||||
|
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
-- Groups table
|
-- User table
|
||||||
ALTER TABLE `comunic_groups`
|
ALTER TABLE `utilisateurs`
|
||||||
ADD COLUMN `is_members_list_public` TINYINT(1) NULL DEFAULT 0 AFTER `url`;
|
ADD COLUMN `allow_notif_conv` INT NULL DEFAULT 1 AFTER `delete_likes_after`;
|
||||||
|
|
||||||
ALTER TABLE `comunic_conversations_list`
|
|
||||||
ADD COLUMN `min_group_membership_level` INT NULL AFTER `group_id`;
|
|
||||||
|
Loading…
Reference in New Issue
Block a user