Class: RestaurantDocument

Inherits:
ApplicationRecord show all
Extended by:
Enumerize
Defined in:
app/models/restaurant_document.rb

Overview

Schema Information

Table name: restaurant_documents

id            :bigint           not null, primary key
file          :string(191)
name          :string(191)
created_at    :datetime         not null
updated_at    :datetime         not null
restaurant_id :bigint

Indexes

index_restaurant_documents_on_restaurant_id  (restaurant_id)

Method Summary

Methods inherited from ApplicationRecord

sync_carrierwave_url