2018-05-07 16:47:29 -07:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
2015-09-29 16:40:51 +02:00
|
|
|
class ChangePostalcodeFormatInVenues < ActiveRecord::Migration
|
2015-10-14 11:53:48 +02:00
|
|
|
def up
|
2015-09-29 16:40:51 +02:00
|
|
|
change_column :venues, :postalcode, :string
|
|
|
|
|
end
|
2015-10-14 11:53:48 +02:00
|
|
|
|
|
|
|
|
def down
|
|
|
|
|
raise ActiveRecord::IrreversibleMigration.new('Cannot reverse migration.')
|
|
|
|
|
end
|
2015-09-29 16:40:51 +02:00
|
|
|
end
|