mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-12-26 05:28:50 +00:00
Fix bad column
This commit is contained in:
parent
e5f6b9e93e
commit
972641c605
@ -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`));
|
||||
|
||||
|
||||
|
@ -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` (
|
||||
|
Loading…
Reference in New Issue
Block a user