Add workflows inside captain
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
class AddPauseResumeToCaptainWorkflowExecutions < ActiveRecord::Migration[7.1]
|
||||
def change
|
||||
add_column :captain_workflow_executions, :current_node_id, :string
|
||||
add_column :captain_workflow_executions, :context_store, :jsonb, default: {}
|
||||
end
|
||||
end
|
||||
+3
-1
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[7.1].define(version: 2026_02_27_100002) do
|
||||
ActiveRecord::Schema[7.1].define(version: 2026_02_27_100003) do
|
||||
# These extensions should be enabled to support this database
|
||||
enable_extension "pg_stat_statements"
|
||||
enable_extension "pg_trgm"
|
||||
@@ -423,6 +423,8 @@ ActiveRecord::Schema[7.1].define(version: 2026_02_27_100002) do
|
||||
t.jsonb "execution_log", default: []
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.string "current_node_id"
|
||||
t.jsonb "context_store", default: {}
|
||||
t.index ["account_id"], name: "index_captain_workflow_executions_on_account_id"
|
||||
t.index ["contact_id"], name: "index_captain_workflow_executions_on_contact_id"
|
||||
t.index ["conversation_id"], name: "index_captain_workflow_executions_on_conversation_id"
|
||||
|
||||
Reference in New Issue
Block a user