mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
11 lines
258 B
Ruby
11 lines
258 B
Ruby
# frozen_string_literal: true
|
|
|
|
class ChangePostalcodeFormatInVenues < ActiveRecord::Migration
|
|
def up
|
|
change_column :venues, :postalcode, :string
|
|
end
|
|
|
|
def down
|
|
raise ActiveRecord::IrreversibleMigration.new('Cannot reverse migration.')
|
|
end
|
|
end
|