1
0
Fork 0

Merge migrations

This commit is contained in:
Alex Kotov 2019-07-20 04:45:03 +05:00
parent 09952fbeda
commit 7d7d8fe836
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08
2 changed files with 1 additions and 8 deletions

View file

@ -2,7 +2,7 @@
class CreateStates < ActiveRecord::Migration[5.2]
def change
create_table :states do |t|
create_table :country_states do |t|
t.timestamps null: false
t.string :name, null: false

View file

@ -1,7 +0,0 @@
# frozen_string_literal: true
class RenameStatesToCountryStates < ActiveRecord::Migration[5.2]
def change
rename_table :states, :country_states
end
end