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

13 lines
379 B
SQL

ALTER TABLE `utilisateurs`
ADD COLUMN `is_email_public` INT NULL DEFAULT 0 AFTER `allow_notif_sound`,
ADD COLUMN `location` VARCHAR(45) NULL AFTER `is_email_visible`;
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`));