Adds lodging model
This commit is contained in:
parent
f0b6c32a54
commit
029281a9ae
5 changed files with 48 additions and 1 deletions
12
db/schema.rb
12
db/schema.rb
|
|
@ -192,6 +192,18 @@ ActiveRecord::Schema.define(version: 20140613083115) do
|
|||
t.integer "event_id"
|
||||
end
|
||||
|
||||
create_table "lodgings", force: true do |t|
|
||||
t.string "name"
|
||||
t.text "description"
|
||||
t.string "photo_file_name"
|
||||
t.string "photo_content_type"
|
||||
t.integer "photo_file_size"
|
||||
t.datetime "photo_updated_at"
|
||||
t.integer "venue_id"
|
||||
t.datetime "created_at"
|
||||
t.datetime "updated_at"
|
||||
end
|
||||
|
||||
create_table "people", force: true do |t|
|
||||
t.string "guid", null: false
|
||||
t.string "first_name", default: ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue