osem-fcy/db/migrate/20150929142405_change_postalcode_format_in_venues.rb

10 lines
227 B
Ruby
Raw Normal View History

2015-09-29 16:40:51 +02:00
class ChangePostalcodeFormatInVenues < ActiveRecord::Migration
def up
2015-09-29 16:40:51 +02:00
change_column :venues, :postalcode, :string
end
def down
raise ActiveRecord::IrreversibleMigration.new('Cannot reverse migration.')
end
2015-09-29 16:40:51 +02:00
end