Class: BistrochatRestaurant

Inherits:
ApplicationRecord show all
Includes:
VendorSuppliers::RestaurantHumanizer
Defined in:
app/models/bistrochat_restaurant.rb

Overview

Schema Information

Table name: bistrochat_restaurants

id            :bigint           not null, primary key
shop_slug     :string(191)
created_at    :datetime         not null
updated_at    :datetime         not null
restaurant_id :integer          not null
shop_id       :string(191)

Indexes

index_bistrochat_restaurants_on_restaurant_id  (restaurant_id) UNIQUE
index_bistrochat_restaurants_on_shop_id        (shop_id)
index_bistrochat_restaurants_on_shop_slug      (shop_slug)

Foreign Keys

fk_rails_...  (restaurant_id => restaurants.id)

Method Summary

Methods inherited from ApplicationRecord

sync_carrierwave_url