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
a6d54da898
commit
a4bdc89be2
@ -250,6 +250,8 @@ CREATE TABLE `utilisateurs` (
|
|||||||
`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',
|
`allow_notif_sound` int DEFAULT '1',
|
||||||
|
`is_email_visible` int DEFAULT '0',
|
||||||
|
`location` varchar(45) DEFAULT NULL,
|
||||||
PRIMARY KEY (`ID`)
|
PRIMARY KEY (`ID`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4;
|
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4;
|
||||||
|
|
||||||
|
@ -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`;
|
||||||
|
Loading…
Reference in New Issue
Block a user