Fix trigger model
This commit is contained in:
parent
4ac1467c5c
commit
ab972295bc
1 changed files with 0 additions and 1 deletions
|
@ -10,7 +10,6 @@ module Ci
|
||||||
has_many :trigger_requests, dependent: :destroy
|
has_many :trigger_requests, dependent: :destroy
|
||||||
|
|
||||||
validates :token, presence: true, uniqueness: true
|
validates :token, presence: true, uniqueness: true
|
||||||
validates :owner, presence: true
|
|
||||||
|
|
||||||
before_validation :set_default_values
|
before_validation :set_default_values
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue