From 8d88e28df678a8f2a426879d8ecfdd63f0590aa7 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Thu, 15 Apr 2021 19:32:16 +0200 Subject: [PATCH] Fix migration script order --- docs/migration.sql | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/migration.sql b/docs/migration.sql index c6cb325..095956d 100644 --- a/docs/migration.sql +++ b/docs/migration.sql @@ -7,9 +7,10 @@ ALTER TABLE `utilisateurs` -- 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`; -ALTER TABLE `comunic_clients` - ADD COLUMN `firebase_project_name` VARCHAR(45) NULL AFTER `default_expiration_time`;