From 6d628b23c1bbee75e57273e1f7e7a430f9ab1098 Mon Sep 17 00:00:00 2001
From: Jan Tuomi <jans.tuomi@gmail.com>
Date: Fri, 1 Mar 2024 17:18:42 +0200
Subject: Fix migration

---
 migrations/0005_indices.sql | 1 -
 1 file changed, 1 deletion(-)

(limited to 'migrations/0005_indices.sql')

diff --git a/migrations/0005_indices.sql b/migrations/0005_indices.sql
index 83d0d09..0402807 100644
--- a/migrations/0005_indices.sql
+++ b/migrations/0005_indices.sql
@@ -1,6 +1,5 @@
 ALTER TABLE votes ADD CONSTRAINT idx_votes_unique_voter_name UNIQUE (poll_id, choice_id, voter_name);
 
-CREATE INDEX idx_votes_poll_id_voter_name ON votes (poll_id, voter_name);
 CREATE INDEX idx_choices_poll_id_start_datetime ON choices (poll_id, start_datetime);
 CREATE INDEX idx_votes_choice_id ON votes (choice_id);
 CREATE INDEX idx_votes_manage_code ON votes (manage_code);
-- 
cgit v1.3

