Añade plugin Redmine Git Hosting 4.0.2
This commit is contained in:
parent
472cb1ea76
commit
bdd66d941f
494 changed files with 36768 additions and 0 deletions
9
plugins/redmine_git_hosting/app/models/github_comment.rb
Normal file
9
plugins/redmine_git_hosting/app/models/github_comment.rb
Normal file
|
@ -0,0 +1,9 @@
|
|||
class GithubComment < ActiveRecord::Base
|
||||
|
||||
## Relations
|
||||
belongs_to :journal
|
||||
|
||||
## Validations
|
||||
validates :github_id, presence: true
|
||||
validates :journal_id, presence: true, uniqueness: { scope: :github_id }
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue