mirror of
https://gitcode.com/ageerle/ruoyi-ai.git
synced 2026-04-14 04:13:39 +00:00
fix: 修复sql,mysql5.7的TEXT类型不支持默认值
This commit is contained in:
@@ -3,7 +3,7 @@ CREATE TABLE t_workflow
|
|||||||
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
||||||
uuid VARCHAR(32) NOT NULL DEFAULT '',
|
uuid VARCHAR(32) NOT NULL DEFAULT '',
|
||||||
title VARCHAR(100) NOT NULL DEFAULT '',
|
title VARCHAR(100) NOT NULL DEFAULT '',
|
||||||
remark TEXT NOT NULL DEFAULT '',
|
remark TEXT NOT NULL,
|
||||||
user_id BIGINT NOT NULL DEFAULT 0,
|
user_id BIGINT NOT NULL DEFAULT 0,
|
||||||
is_public TINYINT(1) NOT NULL DEFAULT 0,
|
is_public TINYINT(1) NOT NULL DEFAULT 0,
|
||||||
is_enable TINYINT(1) NOT NULL DEFAULT 1,
|
is_enable TINYINT(1) NOT NULL DEFAULT 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user