Initial commit
This commit is contained in:
12
db/migrate/20210420111532_create_provinces.rb
Normal file
12
db/migrate/20210420111532_create_provinces.rb
Normal file
@@ -0,0 +1,12 @@
|
||||
class CreateProvinces < ActiveRecord::Migration[5.2]
|
||||
def down
|
||||
drop_table :provinces
|
||||
end
|
||||
|
||||
def up
|
||||
create_table :provinces do |t|
|
||||
t.string :name
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user