Class: MyMenu::ReservationInvMismatch

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

Overview

Schema Information

Table name: my_menu_reservation_inv_mismatches

id            :bigint           not null, primary key
date          :date             not null
created_at    :datetime         not null
updated_at    :datetime         not null
restaurant_id :integer          not null

Indexes

index_my_menu_reservation_inv_mismatches_on_restaurant_and_date  (restaurant_id,date) UNIQUE

Foreign Keys

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

Method Summary

Methods inherited from ApplicationRecord

sync_carrierwave_url