mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-19 19:25:57 +08:00
ADD db schema in models
This commit is contained in:
@@ -1,3 +1,20 @@
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: fork_users
|
||||
#
|
||||
# id :integer not null, primary key
|
||||
# project_id :integer
|
||||
# fork_project_id :integer
|
||||
# user_id :integer
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
# index_fork_users_on_project_id (project_id)
|
||||
# index_fork_users_on_user_id (user_id)
|
||||
#
|
||||
|
||||
class ForkUser < ApplicationRecord
|
||||
belongs_to :project
|
||||
belongs_to :user
|
||||
|
||||
Reference in New Issue
Block a user