mirror of
https://github.com/kestra-io/kestra.git
synced 2025-12-23 21:04:39 -05:00
fix(scheduler): fix TriggerSchedulerMonitor
Adds new `trigger_id` to the executions table with index Adds new method findAllByTrigger on ExecutionRepository
This commit is contained in:
committed by
Loïc Mathieu
parent
6f9ae15661
commit
b5cda54342
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE executions ADD "trigger_id" VARCHAR(150) GENERATED ALWAYS AS (value -> 'trigger' ->> 'id') STORED;
|
||||
CREATE INDEX idx_executions_trigger_id ON executions (trigger_id);
|
||||
Reference in New Issue
Block a user