From 884d97d55e33bad4fcf10d3495fd32f945264b51 Mon Sep 17 00:00:00 2001
From: Ellie Huxtable <ellie@elliehuxtable.com>
Date: Tue, 2 Jul 2024 11:36:22 +0100
Subject: fix: add idx cache unique index (#2226)

---
 .../atuin-server-postgres/migrations/20240702094825_idx_cache_index.sql  | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 crates/atuin-server-postgres/migrations/20240702094825_idx_cache_index.sql

(limited to 'crates/atuin-server-postgres/migrations/20240702094825_idx_cache_index.sql')

diff --git a/crates/atuin-server-postgres/migrations/20240702094825_idx_cache_index.sql b/crates/atuin-server-postgres/migrations/20240702094825_idx_cache_index.sql
new file mode 100644
index 00000000..d1a7b194
--- /dev/null
+++ b/crates/atuin-server-postgres/migrations/20240702094825_idx_cache_index.sql
@@ -0,0 +1 @@
+create unique index store_idx_cache_uniq on store_idx_cache(user_id, host, tag);
-- 
cgit v1.3.1

