* [story#59790,0.5h] set mode default to builder.

This commit is contained in:
qixinzhi
2024-09-04 16:10:43 +08:00
committed by 代婷婷
parent 3b4c9deaee
commit 623c355e9d
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -15,4 +15,5 @@ UPDATE `zt_doc` SET `order` = id;
ALTER TABLE `zt_story` ADD `verifiedDate` datetime NULL AFTER `retractedDate`;
ALTER TABLE `zt_pivot` ADD `mode` enum('text', 'builder') not NULL default 'text' AFTER `driver`;
ALTER TABLE `zt_pivot` ADD `mode` enum('text', 'builder') not NULL default 'builder' AFTER `driver`;
UPDATE `zt_pivot` SET `mode` = 'text';
+1 -1
View File
@@ -15411,7 +15411,7 @@ CREATE TABLE IF NOT EXISTS `zt_pivot` (
`group` varchar(255) NOT NULL DEFAULT '',
`code` varchar(255) NOT NULL DEFAULT '',
`driver` enum('mysql', 'duckdb') not NULL default 'mysql',
`mode` enum('text', 'builder') not NULL default 'text',
`mode` enum('text', 'builder') not NULL default 'builder',
`name` text NULL,
`desc` text NULL,
`acl` enum('open','private') NOT NULL DEFAULT 'open',