Class: RestaurantSectionSort

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

Overview

Schema Information

Table name: restaurant_section_sorts

id                         :bigint           not null, primary key
rank                       :integer
home_restaurant_section_id :bigint
home_section_id            :bigint
restaurant_id              :bigint

Indexes

index_restaurant_section_sorts_on_home_restaurant_section_id  (home_restaurant_section_id)
index_restaurant_section_sorts_on_home_section_id             (home_section_id)
index_restaurant_section_sorts_on_restaurant_id               (restaurant_id)

Foreign Keys

fk_rails_...  (home_section_id => home_sections.id)

Method Summary

Methods inherited from ApplicationRecord

sync_carrierwave_url