feat: add migration for is_archived field

This commit is contained in:
Yanislav Igonin 2021-11-02 10:48:57 +02:00
parent f79334948e
commit 071543daf5
2 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,2 @@
ALTER TABLE posts
DROP COLUMN is_archived;

View File

@ -0,0 +1,2 @@
ALTER TABLE posts
ADD is_archived BOOLEAN DEFAULT false;