@brandboostinggmbh/observable-workflows 0.11.3 → 0.11.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -229,6 +229,7 @@ async function migrateWorkflowPropertiesTable(db, currentVersion) {
|
|
|
229
229
|
async function createIndexes(db) {
|
|
230
230
|
await db.prepare(`CREATE INDEX IF NOT EXISTS idx_workflows_parent_instance_id ON WorkflowTable (parentInstanceId)`).run();
|
|
231
231
|
await db.prepare(`CREATE INDEX IF NOT EXISTS idx_workflows_trigger_id ON WorkflowTable (triggerId)`).run();
|
|
232
|
+
await db.prepare(`CREATE INDEX IF NOT EXISTS idx_workflows_start_time ON WorkflowTable (startTime)`).run();
|
|
232
233
|
}
|
|
233
234
|
/**
|
|
234
235
|
* Main migration function that ensures all tables exist and are up-to-date.
|