Class: Restaurants::Line

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

Overview

typed: ignore

Schema Information

Table name: restaurants_lines

id            :integer          not null, primary key
account       :string(191)
cover_image   :string(191)
created_at    :datetime         not null
updated_at    :datetime         not null
restaurant_id :integer

Indexes

index_restaurants_lines_on_restaurant_id  (restaurant_id)

Foreign Keys

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

Method Summary

Methods inherited from ApplicationRecord

sync_carrierwave_url