Class: ExperienceInformation

Inherits:
ApplicationRecord show all
Defined in:
app/models/experience_information.rb

Overview

Schema Information

Table name: experience_informations

id                        :bigint           not null, primary key
also_provide              :boolean
average_spending_cents    :integer          default(0), not null
average_spending_currency :string(191)      default("THB"), not null
experience_type           :string(191)      not null
food_service              :string(191)
group_size                :integer          not null
venue_type                :string(191)      not null
created_at                :datetime         not null
updated_at                :datetime         not null
restaurant_id             :bigint

Indexes

index_experience_informations_on_restaurant_id  (restaurant_id)

Method Summary

Methods inherited from ApplicationRecord

sync_carrierwave_url