Issue #686: Postalcode requires number
This commit is contained in:
parent
11bf53442c
commit
fd709ed4c0
2 changed files with 11 additions and 2 deletions
|
|
@ -0,0 +1,9 @@
|
|||
class ChangePostalcodeFormatInVenues < ActiveRecord::Migration
|
||||
def up
|
||||
change_column :venues, :postalcode, :string
|
||||
end
|
||||
|
||||
def down
|
||||
change_column :venues, :postalcode, :integer
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue