From 8ffb7b2b187d6cce48a7805ebead9d20a6ca8719 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Tue, 27 Apr 2021 18:44:30 +0200 Subject: [PATCH] Fix misplaced field --- docs/db_struct.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/db_struct.sql b/docs/db_struct.sql index f70d213..178dc8a 100644 --- a/docs/db_struct.sql +++ b/docs/db_struct.sql @@ -46,6 +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_project_name` VARCHAR(45) NULL, `firebase_service_account_file` TEXT DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; @@ -60,7 +61,6 @@ CREATE TABLE `comunic_user_access_tokens` ( `user_id` int DEFAULT NULL, `last_refresh` int NOT NULL, `timeout` int NOT NULL, - `firebase_project_name` VARCHAR(45) NULL, `push_notifications_token` text, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;