mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-16 09:45:57 +08:00
ADD db schema in models
This commit is contained in:
@@ -1,4 +1,16 @@
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: trackers
|
||||
#
|
||||
# id :integer not null, primary key
|
||||
# name :string(30) default(""), not null
|
||||
# is_in_chlog :boolean default("0"), not null
|
||||
# position :integer default("1")
|
||||
# is_in_roadmap :boolean default("1"), not null
|
||||
# fields_bits :integer default("0")
|
||||
#
|
||||
|
||||
class Tracker < ApplicationRecord
|
||||
has_many :issues
|
||||
has_and_belongs_to_many :projects
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user