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

7 lines
No EOL
278 B
SQL

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;