ADD db schema in models

This commit is contained in:
Jasder
2020-11-23 15:35:03 +08:00
parent ba1115f1f3
commit 60ac66ebe3
82 changed files with 1711 additions and 25 deletions

View File

@@ -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