From 720ea04268ad45f45a3d3ec612ec9dbded29213e Mon Sep 17 00:00:00 2001 From: Pierre Hubert Date: Thu, 15 Apr 2021 15:32:47 +0200 Subject: [PATCH] Rename column --- docs/db_struct.sql | 2 +- docs/migration.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/db_struct.sql b/docs/db_struct.sql index be27016..7e1d396 100644 --- a/docs/db_struct.sql +++ b/docs/db_struct.sql @@ -46,7 +46,7 @@ CREATE TABLE `comunic_clients` ( `domain` varchar(45) DEFAULT NULL COMMENT 'Use to check Referer & define Access-Control-Allow-Origin', `comment` varchar(45) DEFAULT NULL COMMENT 'Information about the client', `default_expiration_time` int DEFAULT '2592000' COMMENT '2592000 = 1 month', - `firebase_token` varchar(255) DEFAULT NULL, + `firebase_service_account_file` TEXT DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; diff --git a/docs/migration.sql b/docs/migration.sql index 78c4aa5..1c39723 100644 --- a/docs/migration.sql +++ b/docs/migration.sql @@ -6,7 +6,7 @@ ALTER TABLE `utilisateurs` -- Clients table ALTER TABLE `comunic_clients` - ADD COLUMN `firebase_token` VARCHAR(255) NULL AFTER `default_expiration_time`; + ADD COLUMN `firebase_service_account_file` TEXT NULL AFTER `default_expiration_time`; -- Tokens table ALTER TABLE `comunic_user_access_tokens`