First checkin
This commit is contained in:
parent
f207e2c8b7
commit
90b30db9e8
260 changed files with 37349 additions and 0 deletions
20
db/migrate/20121223122842_create_venue_table.rb
Normal file
20
db/migrate/20121223122842_create_venue_table.rb
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
class CreateVenueTable < ActiveRecord::Migration
|
||||
def up
|
||||
create_table :venues do |t|
|
||||
t.string :guid
|
||||
t.string :name
|
||||
t.string :address
|
||||
t.string :website
|
||||
t.text :description
|
||||
t.string :offline_map_url
|
||||
t.string :offline_map_bounds
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
|
||||
def down
|
||||
drop_table :venues
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue