diff --git a/database/migrations/metamorph/postgres/000005_status_locked_by_index.down.sql b/database/migrations/metamorph/postgres/000005_status_locked_by_index.down.sql new file mode 100644 index 000000000..3c15675e3 --- /dev/null +++ b/database/migrations/metamorph/postgres/000005_status_locked_by_index.down.sql @@ -0,0 +1 @@ +DROP INDEX idx_metamorph_transactions_locked_by_status; diff --git a/database/migrations/metamorph/postgres/000005_status_locked_by_index.up.sql b/database/migrations/metamorph/postgres/000005_status_locked_by_index.up.sql new file mode 100644 index 000000000..7e2c520c0 --- /dev/null +++ b/database/migrations/metamorph/postgres/000005_status_locked_by_index.up.sql @@ -0,0 +1 @@ +CREATE INDEX idx_metamorph_transactions_locked_by_status ON metamorph.transactions(locked_by, status);