forgeplus/app/models/project_educoder.rb

24 lines
614 B
Ruby
Raw Normal View History

2020-11-23 15:35:03 +08:00
# == Schema Information
#
# Table name: project_educoders
#
# id :integer not null, primary key
# owner :string(255)
# repo_name :string(255)
# image_url :string(255)
# project_id :integer
# created_at :datetime not null
# updated_at :datetime not null
2022-03-30 14:10:19 +08:00
# commit_count :integer default(0)
# forked_count :integer default(0)
2020-11-23 15:35:03 +08:00
#
# Indexes
#
# index_project_educoders_on_project_id (project_id)
# index_project_educoders_on_repo_name (repo_name)
#
2020-10-19 22:59:41 +08:00
class ProjectEducoder < ApplicationRecord
belongs_to :project, optional: true
end