2018-04-04 10:18:51 -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
|
2018-04-04 10:18:51 -07:00
|
|
|
raise ActiveRecord::IrreversibleMigration, 'Cannot reverse migration.'
|
2015-10-14 11:53:48 +02:00
|
|
|
end
|
2015-09-29 16:40:51 +02:00
|
|
|
end
|