mirror of
https://github.com/yanislav-igonin/micrach
synced 2025-07-01 17:01:14 +03:00
feat: add migration for is_archived field
This commit is contained in:
parent
f79334948e
commit
071543daf5
2
migrations/20211031085620_posts_archivation.down.sql
Normal file
2
migrations/20211031085620_posts_archivation.down.sql
Normal file
@ -0,0 +1,2 @@
|
||||
ALTER TABLE posts
|
||||
DROP COLUMN is_archived;
|
2
migrations/20211031085620_posts_archivation.up.sql
Normal file
2
migrations/20211031085620_posts_archivation.up.sql
Normal file
@ -0,0 +1,2 @@
|
||||
ALTER TABLE posts
|
||||
ADD is_archived BOOLEAN DEFAULT false;
|
Loading…
Reference in New Issue
Block a user