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,13 @@
|
||||
class CreateUsers < Prism::Orm::Migration
|
||||
def up
|
||||
create_table :users do |t|
|
||||
t.string :email
|
||||
t.string :password_digest
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
|
||||
def down
|
||||
drop_table :users
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user