增加流水线节点名称,和标识区分

This commit is contained in:
2024-05-31 10:56:46 +08:00
parent 62de4a0ac8
commit b96d52a84d
13 changed files with 39 additions and 9 deletions

View File

@@ -17,4 +17,7 @@ class Action::Template < ApplicationRecord
self.table_name = 'action_templates'
default_scope { order(sort_no: :asc) }
validates :name, presence: { message: "不能为空" }
validates :description, length: { maximum: 65535, too_long: "不能超过65535个字符"}
end