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

12 lines
258 B
Ruby
Raw Normal View History

# frozen_string_literal: true
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