31 lines
904 B
Ruby
31 lines
904 B
Ruby
# == Schema Information
|
|
#
|
|
# Table name: daily_project_statistics
|
|
#
|
|
# id :integer not null, primary key
|
|
# project_id :integer
|
|
# date :date
|
|
# score :integer default("0")
|
|
# visits :integer default("0")
|
|
# watchers :integer default("0")
|
|
# praises :integer default("0")
|
|
# forks :integer default("0")
|
|
# issues :integer default("0")
|
|
# pullrequests :integer default("0")
|
|
# commits :integer default("0")
|
|
# created_at :datetime not null
|
|
# updated_at :datetime not null
|
|
# closed_issues :integer default("0")
|
|
#
|
|
# Indexes
|
|
#
|
|
# index_daily_project_statistics_on_date (date)
|
|
# index_daily_project_statistics_on_project_id (project_id)
|
|
#
|
|
|
|
class DailyProjectStatistic < ApplicationRecord
|
|
|
|
|
|
belongs_to :project
|
|
end
|