mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-11-22 13:29:21 +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,
|
`name` VARCHAR(45) NOT NULL,
|
||||||
`domain` VARCHAR(45) NULL COMMENT 'Use to check Referer & define Access-Control-Allow-Origin',
|
`domain` VARCHAR(45) NULL COMMENT 'Use to check Referer & define Access-Control-Allow-Origin',
|
||||||
`comment` VARCHAR(45) NULL COMMENT 'Information about the client',
|
`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`));
|
PRIMARY KEY (`ID`));
|
||||||
|
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ CREATE TABLE `comunic_clients` (
|
|||||||
`name` VARCHAR(45) NOT NULL,
|
`name` VARCHAR(45) NOT NULL,
|
||||||
`domain` VARCHAR(45) NULL COMMENT 'Use to check Referer & define Access-Control-Allow-Origin',
|
`domain` VARCHAR(45) NULL COMMENT 'Use to check Referer & define Access-Control-Allow-Origin',
|
||||||
`comment` VARCHAR(45) NULL COMMENT 'Information about the client',
|
`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`));
|
PRIMARY KEY (`ID`));
|
||||||
|
|
||||||
CREATE TABLE `comunic_user_access_tokens` (
|
CREATE TABLE `comunic_user_access_tokens` (
|
||||||
|
Loading…
Reference in New Issue
Block a user