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

Fix migration script order

This commit is contained in:
Pierre HUBERT 2021-04-15 19:32:16 +02:00
parent 2e5d8ed305
commit 8d88e28df6

View File

@ -7,9 +7,10 @@ ALTER TABLE `utilisateurs`
-- Clients table -- Clients table
ALTER TABLE `comunic_clients` ALTER TABLE `comunic_clients`
ADD COLUMN `firebase_service_account_file` TEXT NULL AFTER `default_expiration_time`; 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 -- Tokens table
ALTER TABLE `comunic_user_access_tokens` ALTER TABLE `comunic_user_access_tokens`
ADD COLUMN `push_notifications_token` TEXT NULL AFTER `timeout`; ADD COLUMN `push_notifications_token` TEXT NULL AFTER `timeout`;
ALTER TABLE `comunic_clients`
ADD COLUMN `firebase_project_name` VARCHAR(45) NULL AFTER `default_expiration_time`;