Class: MyMenuRestaurant
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- MyMenuRestaurant
- Includes:
- VendorSuppliers::RestaurantHumanizer
- Defined in:
- app/models/my_menu_restaurant.rb
Overview
Schema Information
Table name: my_menu_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_my_menu_restaurants_on_restaurant_id (restaurant_id) UNIQUE
index_my_menu_restaurants_on_shop_id (shop_id)
index_my_menu_restaurants_on_shop_slug (shop_slug)
Foreign Keys
fk_rails_... (restaurant_id => restaurants.id)