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`