diff --git a/docs/db_struct.sql b/docs/db_struct.sql index 7e1d396..e848923 100644 --- a/docs/db_struct.sql +++ b/docs/db_struct.sql @@ -60,6 +60,7 @@ 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; diff --git a/docs/migration.sql b/docs/migration.sql index 1c39723..c6cb325 100644 --- a/docs/migration.sql +++ b/docs/migration.sql @@ -11,3 +11,5 @@ ALTER TABLE `comunic_clients` -- 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`;