1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2025-06-19 16:05:16 +00:00

Add new user information

This commit is contained in:
2021-04-16 14:56:47 +02:00
parent a4bdc89be2
commit b5d2410413
6 changed files with 30 additions and 15 deletions

View File

@ -250,7 +250,7 @@ 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',
`is_email_public` int DEFAULT '0',
`location` varchar(45) DEFAULT NULL,
PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4;

View File

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