Añade el plugin Redmine Git Hosting 5.0.0
This commit is contained in:
parent
cfa0d58b18
commit
a3bddad233
458 changed files with 30396 additions and 1 deletions
8
plugins/redmine_git_hosting/app/models/github_comment.rb
Normal file
8
plugins/redmine_git_hosting/app/models/github_comment.rb
Normal file
|
@ -0,0 +1,8 @@
|
|||
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