From 3e1eee099a97f50697146dfd5f886d1b628662b1 Mon Sep 17 00:00:00 2001 From: Riccardo Busetti Date: Wed, 24 Jul 2024 14:44:15 +0200 Subject: [PATCH] Add migration --- migrations/20240724144200_change_index.sql | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 migrations/20240724144200_change_index.sql diff --git a/migrations/20240724144200_change_index.sql b/migrations/20240724144200_change_index.sql new file mode 100644 index 0000000000..752e9bd859 --- /dev/null +++ b/migrations/20240724144200_change_index.sql @@ -0,0 +1,3 @@ +DROP INDEX IF EXISTS project_keys; + +CREATE INDEX IF NOT EXISTS project_keys_received_at ON envelopes (own_key, sampling_key, received_at); \ No newline at end of file