aboutsummaryrefslogtreecommitdiffstats
path: root/migrations/0005_indices.sql
diff options
context:
space:
mode:
Diffstat (limited to 'migrations/0005_indices.sql')
-rw-r--r--migrations/0005_indices.sql4
1 files changed, 0 insertions, 4 deletions
diff --git a/migrations/0005_indices.sql b/migrations/0005_indices.sql
deleted file mode 100644
index 9f28ffb..0000000
--- a/migrations/0005_indices.sql
+++ /dev/null
@@ -1,4 +0,0 @@
-ALTER TABLE votes ADD CONSTRAINT idx_votes_unique_voter_name UNIQUE (poll_id, choice_id, voter_name);
-
-CREATE INDEX idx_votes_manage_code ON votes (manage_code);
-CREATE INDEX idx_polls_manage_code_pub_date ON polls (manage_code, pub_date);