* Adjust code.

This commit is contained in:
leiyong
2020-07-21 20:18:53 -07:00
parent 1f0aeacf8b
commit c1b08303ba
2 changed files with 14 additions and 4 deletions

View File

@@ -1,3 +1,6 @@
ALTER TABLE `zt_doccontent` CHANGE `content` `content` longtext NOT NULL AFTER `digest`;
update zt_storystage as a, zt_story as b set a.stage = 'closed', b.stage = 'closed' where a.story = b.id and b.status = 'closed';
update zt_story set stage = 'closed' where status = 'closed';