From 595597968e288e0bee7d0acb556c07b0d9e21d50 Mon Sep 17 00:00:00 2001 From: Piotr Heilman Date: Thu, 14 Nov 2024 10:29:27 +0100 Subject: [PATCH] Add index on status column in identities table. --- schemas/database/018_status_index_for_identities.down.sql | 1 + schemas/database/018_status_index_for_identities.up.sql | 1 + 2 files changed, 2 insertions(+) create mode 100644 schemas/database/018_status_index_for_identities.down.sql create mode 100644 schemas/database/018_status_index_for_identities.up.sql diff --git a/schemas/database/018_status_index_for_identities.down.sql b/schemas/database/018_status_index_for_identities.down.sql new file mode 100644 index 00000000..d8ccbec3 --- /dev/null +++ b/schemas/database/018_status_index_for_identities.down.sql @@ -0,0 +1 @@ +DROP INDEX identities_status; diff --git a/schemas/database/018_status_index_for_identities.up.sql b/schemas/database/018_status_index_for_identities.up.sql new file mode 100644 index 00000000..bfff9387 --- /dev/null +++ b/schemas/database/018_status_index_for_identities.up.sql @@ -0,0 +1 @@ +CREATE INDEX identities_status on identities(status); \ No newline at end of file