feat(system): add index to commonly queried fields in the WHERE conditions of the triggers table

This commit is contained in:
weibo1
2025-04-15 14:23:41 +08:00
committed by Loïc Mathieu
parent b7861a139e
commit e1c4ae22f2
3 changed files with 3 additions and 0 deletions

View File

@@ -0,0 +1 @@
CREATE INDEX IF NOT EXISTS ix_next_execution_date ON triggers ("next_execution_date");

View File

@@ -0,0 +1 @@
CREATE INDEX ix_next_execution_date ON `triggers` (`next_execution_date`);

View File

@@ -0,0 +1 @@
CREATE INDEX IF NOT EXISTS triggers_next_execution_date ON triggers (next_execution_date);