mirror of
https://github.com/zfile-dev/zfile.git
synced 2025-04-19 05:34:52 +00:00
✨ 修改系统设置 value 值字段类型为 text, 防止过长
This commit is contained in:
@@ -0,0 +1 @@
|
||||
alter table system_config modify value text null comment '系统设置属性 value';
|
||||
@@ -0,0 +1,17 @@
|
||||
create table system_config_dg_tmp
|
||||
(
|
||||
id integer
|
||||
primary key autoincrement,
|
||||
name varchar(255),
|
||||
value text,
|
||||
title varchar(255)
|
||||
);
|
||||
|
||||
insert into system_config_dg_tmp(id, name, value, title)
|
||||
select id, name, value, title
|
||||
from system_config;
|
||||
|
||||
drop table system_config;
|
||||
|
||||
alter table system_config_dg_tmp
|
||||
rename to system_config;
|
||||
Reference in New Issue
Block a user