1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-11-22 13:29:21 +00:00

Fix misplaced field

This commit is contained in:
Pierre HUBERT 2021-04-27 18:44:30 +02:00
parent 92787dbb4d
commit 8ffb7b2b18

View File

@ -46,6 +46,7 @@ CREATE TABLE `comunic_clients` (
`domain` varchar(45) DEFAULT NULL COMMENT 'Use to check Referer & define Access-Control-Allow-Origin', `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', `comment` varchar(45) DEFAULT NULL COMMENT 'Information about the client',
`default_expiration_time` int DEFAULT '2592000' COMMENT '2592000 = 1 month', `default_expiration_time` int DEFAULT '2592000' COMMENT '2592000 = 1 month',
`firebase_project_name` VARCHAR(45) NULL,
`firebase_service_account_file` TEXT DEFAULT NULL, `firebase_service_account_file` TEXT DEFAULT NULL,
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;
@ -60,7 +61,6 @@ 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;