agenda-libre-ruby/db/migrate/20160111124855_modify_city_nullable.rb

8 lines
256 B
Ruby
Raw Normal View History

# Events and orgas do not require a city anymore
class ModifyCityNullable < ActiveRecord::Migration
def change
change_column :events, :city, :string, default: '', null: true
change_column :orgas, :city, :string, default: '', null: true
end
end