mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-16 13:14:03 +00:00
Merge pull request #713 from raluka/postalcode
Postalcode requires number - not anymore!
This commit is contained in:
commit
5da91c0498
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
|
||||
raise ActiveRecord::IrreversibleMigration.new('Cannot reverse migration.')
|
||||
end
|
||||
end
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20150415121038) do
|
||||
ActiveRecord::Schema.define(version: 20150929142405) do
|
||||
|
||||
create_table "ahoy_events", force: true do |t|
|
||||
t.uuid "visit_id"
|
||||
|
|
@ -515,7 +515,7 @@ ActiveRecord::Schema.define(version: 20150415121038) do
|
|||
t.integer "photo_file_size"
|
||||
t.datetime "photo_updated_at"
|
||||
t.string "street"
|
||||
t.integer "postalcode"
|
||||
t.string "postalcode"
|
||||
t.string "city"
|
||||
t.string "country"
|
||||
t.string "latitude"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue