v1.0.3 升级脚本.sql
340 字节
alter table article_draft add column section jsonb;
alter table article_section add column paragraph_template jsonb;
alter table article_section add column paragraph_type int8;
alter table article_section add column images jsonb;
update article_section set paragraph_type = 0;
alter table article_draft_operation add column section jsonb;