Files
Dalan/db/migrate/20190902032709_add_state_profiles.rb
2026-08-13 19:56:46 +03:30

6 lines
163 B
Ruby

class AddStateProfiles < ActiveRecord::Migration[5.2]
def change
add_column :profiles, :state, :integer, unsigned: true, limit: 1, after: :country
end
end