From 972641c60515e878986bb8873db396299ec85d75 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sat, 13 Feb 2021 16:01:44 +0100 Subject: [PATCH] Fix bad column --- docs/db_struct.sql | 2 +- docs/migration.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/db_struct.sql b/docs/db_struct.sql index 949959f..e412a23 100644 --- a/docs/db_struct.sql +++ b/docs/db_struct.sql @@ -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`)); diff --git a/docs/migration.sql b/docs/migration.sql index 40ef8ed..17fe90e 100644 --- a/docs/migration.sql +++ b/docs/migration.sql @@ -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` (