fixed pipeline_name
This commit is contained in:
parent
e0bc394bd3
commit
1de6cc4e45
|
@ -33,7 +33,7 @@ class Action::Pipeline < ApplicationRecord
|
||||||
belongs_to :user, optional: true
|
belongs_to :user, optional: true
|
||||||
belongs_to :project
|
belongs_to :project
|
||||||
|
|
||||||
validates :name, presence: { message: "不能为空" }
|
validates :pipeline_name, presence: { message: "不能为空" }
|
||||||
validates :json, length: { maximum: 65535, too_long: "不能超过65535个字符"}
|
validates :json, length: { maximum: 65535, too_long: "不能超过65535个字符"}
|
||||||
validates :yaml, length: { maximum: 65535, too_long: "不能超过65535个字符"}
|
validates :yaml, length: { maximum: 65535, too_long: "不能超过65535个字符"}
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue