Class: AddOns::OpeningHour
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- AddOns::OpeningHour
- Includes:
- IdentityCache
- Defined in:
- app/models/add_ons/opening_hour.rb
Overview
Schema Information
Table name: add_on_opening_hours
id :bigint not null, primary key
close :string(191)
cwday :integer not null
open :string(191)
created_at :datetime not null
updated_at :datetime not null
restaurant_add_on_id :bigint
Indexes
index_add_on_opening_hours_on_restaurant_add_on_id (restaurant_add_on_id)
index_add_on_opening_hours_on_restaurant_add_on_id_and_cwday (restaurant_add_on_id,cwday) UNIQUE
Foreign Keys
fk_rails_... (restaurant_add_on_id => restaurant_add_ons.id)