1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-11-22 13:29:21 +00:00

Applied migration script

This commit is contained in:
Pierre HUBERT 2021-04-16 10:14:27 +02:00
parent 1567ae4241
commit a6d54da898

View File

@ -1,16 +1 @@
-- User table
ALTER TABLE `utilisateurs`
ADD COLUMN `allow_notif_conv` INT NULL DEFAULT 1 AFTER `delete_likes_after`;
ALTER TABLE `utilisateurs`
ADD COLUMN `allow_notif_sound` INT NULL DEFAULT 1 AFTER `allow_notif_conv`;
-- Clients table
ALTER TABLE `comunic_clients`
ADD COLUMN `firebase_service_account_file` TEXT NULL AFTER `default_expiration_time`;
ALTER TABLE `comunic_clients`
ADD COLUMN `firebase_project_name` VARCHAR(45) NULL AFTER `default_expiration_time`;
-- Tokens table
ALTER TABLE `comunic_user_access_tokens`
ADD COLUMN `push_notifications_token` TEXT NULL AFTER `timeout`;
-- Nothing yet