Class: NearestRestaurant

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

Overview

Schema Information

Table name: nearest_restaurants

id                     :bigint           not null, primary key
nearest_restaurant_ids :text(65535)
created_at             :datetime         not null
updated_at             :datetime         not null
restaurant_id          :integer

Indexes

index_nearest_restaurants_on_restaurant_id  (restaurant_id)
index_nearest_restaurants_unique            (restaurant_id) UNIQUE

Foreign Keys

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

Method Summary

Methods inherited from ApplicationRecord

sync_carrierwave_url