From caf98789e132e659a8eb62080a505a96339f4318 Mon Sep 17 00:00:00 2001 From: Bartosz Sypytkowski Date: Thu, 31 Oct 2024 10:55:04 +0100 Subject: [PATCH] chore: add unique index on af_users.uuid --- migrations/20241031094508_af_uuid_indexes.sql | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 migrations/20241031094508_af_uuid_indexes.sql diff --git a/migrations/20241031094508_af_uuid_indexes.sql b/migrations/20241031094508_af_uuid_indexes.sql new file mode 100644 index 00000000..ba9ce54d --- /dev/null +++ b/migrations/20241031094508_af_uuid_indexes.sql @@ -0,0 +1,4 @@ +CREATE UNIQUE INDEX IF NOT EXISTS uq_af_user_uuid + ON af_user (uuid) + INCLUDE (uid); +