mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-11-22 13:29:21 +00:00
Update database structure
This commit is contained in:
parent
0f2f882265
commit
bd1f7ac63b
@ -60,6 +60,7 @@ CREATE TABLE `comunic_user_access_tokens` (
|
|||||||
`user_id` int DEFAULT NULL,
|
`user_id` int DEFAULT NULL,
|
||||||
`last_refresh` int NOT NULL,
|
`last_refresh` int NOT NULL,
|
||||||
`timeout` int NOT NULL,
|
`timeout` int NOT NULL,
|
||||||
|
`firebase_project_name` VARCHAR(45) NULL,
|
||||||
`push_notifications_token` text,
|
`push_notifications_token` text,
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
||||||
|
@ -11,3 +11,5 @@ ALTER TABLE `comunic_clients`
|
|||||||
-- Tokens table
|
-- Tokens table
|
||||||
ALTER TABLE `comunic_user_access_tokens`
|
ALTER TABLE `comunic_user_access_tokens`
|
||||||
ADD COLUMN `push_notifications_token` TEXT NULL AFTER `timeout`;
|
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`;
|
||||||
|
Loading…
Reference in New Issue
Block a user