forgeplus/app/models/user_grade.rb

23 lines
558 B
Ruby
Raw Normal View History

2020-11-23 15:35:03 +08:00
# == Schema Information
#
# Table name: user_grades
#
# id :integer not null, primary key
# user_id :integer not null
# project_id :integer not null
# grade :float(24) default("0")
# created_at :datetime not null
# updated_at :datetime not null
#
# Indexes
#
# index_user_grades_on_grade (grade)
# index_user_grades_on_project_id (project_id)
# index_user_grades_on_user_id (user_id)
#
2020-03-09 00:40:16 +08:00
class UserGrade < ApplicationRecord
2020-05-25 16:20:34 +08:00
# belongs_to :project
# belongs_to :user
2020-03-09 00:40:16 +08:00
end