Class: WeeklyRestaurantSummary

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

Overview

Schema Information

Table name: weekly_restaurant_summaries

id                 :bigint           not null, primary key
gmv_cents          :integer          default(0)
reservations_count :integer          default(0)
reviews_count      :integer          default(0)
created_at         :datetime         not null
updated_at         :datetime         not null
restaurant_id      :bigint

Indexes

index_weekly_restaurant_summaries_on_restaurant_id  (restaurant_id) UNIQUE

Method Summary

Methods inherited from ApplicationRecord

sync_carrierwave_url