mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-01 11:37:58 +00:00
feat: add params
This commit is contained in:
@@ -11,6 +11,7 @@ class CreateCaptainCustomTools < ActiveRecord::Migration[7.1]
|
||||
t.text :response_template
|
||||
t.string :auth_type, default: 'none'
|
||||
t.jsonb :auth_config, default: {}
|
||||
t.jsonb :param_schema, default: []
|
||||
t.boolean :enabled, default: true, null: false
|
||||
|
||||
t.timestamps
|
||||
|
||||
@@ -334,6 +334,7 @@ ActiveRecord::Schema[7.1].define(version: 2025_10_03_091242) do
|
||||
t.text "response_template"
|
||||
t.string "auth_type", default: "none"
|
||||
t.jsonb "auth_config", default: {}
|
||||
t.jsonb "param_schema", default: []
|
||||
t.boolean "enabled", default: true, null: false
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
# enabled :boolean default(TRUE), not null
|
||||
# endpoint_url :text not null
|
||||
# http_method :string default("GET"), not null
|
||||
# param_schema :jsonb
|
||||
# request_template :text
|
||||
# response_template :text
|
||||
# slug :string not null
|
||||
|
||||
Reference in New Issue
Block a user