Refactor milestones related functionality. Added seeds for Milestine and MR
This commit is contained in:
parent
53a3be03fc
commit
e4cf99db46
7 changed files with 39 additions and 10 deletions
|
@ -6,6 +6,7 @@ module IssueCommonality
|
|||
belongs_to :project
|
||||
belongs_to :author, class_name: "User"
|
||||
belongs_to :assignee, class_name: "User"
|
||||
belongs_to :milestone
|
||||
has_many :notes, as: :noteable, dependent: :destroy
|
||||
|
||||
validates :project, presence: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue