1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-12-26 05:28:50 +00:00

Fix bad column

This commit is contained in:
Pierre HUBERT 2021-02-13 16:01:44 +01:00
parent e5f6b9e93e
commit 972641c605
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ CREATE TABLE `comunic_clients` (
`name` VARCHAR(45) NOT NULL,
`domain` VARCHAR(45) NULL COMMENT 'Use to check Referer & define Access-Control-Allow-Origin',
`comment` VARCHAR(45) NULL COMMENT 'Information about the client',
`default_expiration_time` INT GENERATED ALWAYS AS (2592000) COMMENT '2592000 = 1 month',
`default_expiration_time` INT DEFAULT 2592000 COMMENT '2592000 = 1 month',
PRIMARY KEY (`ID`));

View File

@ -10,7 +10,7 @@ CREATE TABLE `comunic_clients` (
`name` VARCHAR(45) NOT NULL,
`domain` VARCHAR(45) NULL COMMENT 'Use to check Referer & define Access-Control-Allow-Origin',
`comment` VARCHAR(45) NULL COMMENT 'Information about the client',
`default_expiration_time` INT GENERATED ALWAYS AS (2592000) COMMENT '2592000 = 1 month',
`default_expiration_time` INT DEFAULT 2592000 COMMENT '2592000 = 1 month',
PRIMARY KEY (`ID`));
CREATE TABLE `comunic_user_access_tokens` (