mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
10 lines
222 B
Ruby
10 lines
222 B
Ruby
class ChangeSuburbPostcodeToString < ActiveRecord::Migration
|
|
def up
|
|
change_column :suburbs, :postcode, :string
|
|
end
|
|
|
|
def down
|
|
change_column :suburbs, :postcode, 'integer USING (postcode::integer)'
|
|
end
|
|
end
|