feat(migrate): add AddCoverToPosts, down and CreateComments
This commit is contained in:
1 parent
e29580f149
commit
56b040c2ad
12 files changed
+126
No files matched your search
@@ -0,0 +1,9 @@
|
||||
class AddStatusToComments < Prism::Orm::Migration
|
||||
def up
|
||||
add_column :comments, :status, :integer, default: 0
|
||||
end
|
||||
|
||||
def down
|
||||
remove_column :comments, :status
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user