1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-11-22 21:39:21 +00:00
comunicapiv3/docs/migration.sql

13 lines
379 B
MySQL
Raw Normal View History

2021-04-16 12:43:58 +00:00
ALTER TABLE `utilisateurs`
2021-04-16 12:56:47 +00:00
ADD COLUMN `is_email_public` INT NULL DEFAULT 0 AFTER `allow_notif_sound`,
2021-04-16 12:43:58 +00:00
ADD COLUMN `location` VARCHAR(45) NULL AFTER `is_email_visible`;
2021-04-21 13:21:29 +00:00
CREATE TABLE `comunic`.`forez_presence` (
`id` INT NOT NULL AUTO_INCREMENT,
`user_id` INT NULL,
`group_id` INT NULL,
`year` INT NULL,
`month` INT NULL,
`day` INT NULL,
PRIMARY KEY (`id`));