Class: VoucherRestaurant

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

Overview

typed: ignore

Schema Information

Table name: voucher_restaurants

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

Indexes

index_voucher_restaurants_on_restaurant_id  (restaurant_id)
index_voucher_restaurants_on_voucher_id     (voucher_id)

Method Summary

Methods inherited from ApplicationRecord

sync_carrierwave_url