Class: RestaurantDeliveryChannel

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

Overview

typed: ignore

Schema Information

Table name: restaurant_delivery_channels

id                  :bigint           not null, primary key
active              :boolean          default(TRUE), not null
created_at          :datetime         not null
updated_at          :datetime         not null
delivery_channel_id :bigint           not null
restaurant_id       :bigint           not null

Indexes

index_restaurant_delivery_channels_on_delivery_channel_id  (delivery_channel_id)
index_restaurant_delivery_channels_on_restaurant_id        (restaurant_id)

Method Summary

Methods inherited from ApplicationRecord

sync_carrierwave_url