1
0
Fork 0
mirror of https://github.com/Nutomic/ibis.git synced 2024-12-27 19:11:24 +00:00
ibis/migrations/2024-11-12-131724_article-approval/up.sql

7 lines
278 B
MySQL
Raw Normal View History

alter table article add column approved bool not null default true;
alter table article add column published timestamptz not null default now();
alter table conflict add column published timestamptz not null default now();
alter table edit rename column created to published;