流水线节点管理和模板管理

This commit is contained in:
2024-05-07 14:08:46 +08:00
parent 5a61933857
commit 8ae91ff558
48 changed files with 1348 additions and 9 deletions

View File

@@ -0,0 +1,20 @@
# == Schema Information
#
# Table name: action_templates
#
# id :integer not null, primary key
# name :string(255)
# description :string(255)
# img :string(255)
# sort_no :string(255) default("0")
# json :text(65535)
# yaml :text(65535)
# created_at :datetime not null
# updated_at :datetime not null
#
class Action::Template < ApplicationRecord
self.table_name = 'action_templates'
default_scope { order(sort_no: :asc) }
end