* Add sql.

This commit is contained in:
wangyuting2
2023-02-22 16:28:30 +08:00
parent 42635e7669
commit d99b84dfb2
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -21,3 +21,7 @@ CREATE TABLE `zt_pivot` (
`deleted` tinyint(4) NOT NULL DEFAULT 0,
PRIMARY KEY (`id`)
) ENGINE = MyISAM DEFAULT CHARSET=utf8;
ALTER TABLE `zt_screen` ADD `status` enum('draft','published') NOT NULL DEFAULT 'draft' AFTER `scheme`;
ALTER TABLE `zt_screen` ADD `builtin` tinyint(1) unsigned NOT NULL DEFAULT '0' AFTER `status`;
UPDATE `zt_screen` SET builtin = '1';
+4
View File
File diff suppressed because one or more lines are too long