1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-12-26 05:28:50 +00:00

Update database structure

This commit is contained in:
Pierre HUBERT 2021-04-16 14:43:58 +02:00
parent a6d54da898
commit a4bdc89be2
2 changed files with 6 additions and 1 deletions

View File

@ -250,6 +250,8 @@ CREATE TABLE `utilisateurs` (
`delete_likes_after` int DEFAULT '0',
`allow_notif_conv` int DEFAULT '1',
`allow_notif_sound` int DEFAULT '1',
`is_email_visible` int DEFAULT '0',
`location` varchar(45) DEFAULT NULL,
PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4;

View File

@ -1 +1,4 @@
-- Nothing yet
-- Nothing yet
ALTER TABLE `utilisateurs`
ADD COLUMN `is_email_visible` INT NULL DEFAULT 0 AFTER `allow_notif_sound`,
ADD COLUMN `location` VARCHAR(45) NULL AFTER `is_email_visible`;