diff --git a/src/main/resources/db/migration/V2__add_omni_queue_index.sql b/src/main/resources/db/migration/V2__add_omni_queue_index.sql new file mode 100644 index 0000000..986dd3e --- /dev/null +++ b/src/main/resources/db/migration/V2__add_omni_queue_index.sql @@ -0,0 +1,2 @@ +CREATE INDEX IF NOT EXISTS idx_omni_queue_omni_type_id_archived_id + ON test_data_storage.omni_queue (omni_type_id, archived, id);