Class: NearestRestaurant
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- NearestRestaurant
- 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)