Merge migrations
This commit is contained in:
parent
09952fbeda
commit
7d7d8fe836
2 changed files with 1 additions and 8 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class RenameStatesToCountryStates < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
rename_table :states, :country_states
|
||||
end
|
||||
end
|
Reference in a new issue