| # == Schema Information | |
| # | |
| # Table name: spots | |
| # | |
| # id :bigint not null, primary key | |
| # title :string not null | |
| # description :text not null | |
| # num_guests :integer | |
| # num_bedrooms :integer | |
| # num_beds :integer | |
| # num_baths :integer | |
| # listing_type :string | |
| # price :float not null | |
| # location :string not null | |
| # loc_detail :string | |
| # lat :float not null | |
| # lng :float not null | |
| # host_id :integer not null | |
| # wifi :boolean default(TRUE) | |
| # washer :boolean default(TRUE) | |
| # tv :boolean default(TRUE) | |
| # elevator :boolean default(TRUE) | |
| # parking :boolean default(TRUE) | |
| # kitchen :boolean default(TRUE) | |
| # created_at :datetime not null | |
| # updated_at :datetime not null | |
| # | |
| # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html | |
| # This model initially had no columns defined. If you add columns to the | |
| # model remove the '{}' from the fixture names and add the columns immediately | |
| # below each fixture, per the syntax in the comments below | |
| # | |
| one: {} | |
| # column: value | |
| # | |
| two: {} | |
| # column: value | |