From 6cabb205ea995a95f2211896f738f226fd27f7bb Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Mon, 19 Aug 2024 16:35:50 +0300 Subject: Migrate to SQLite3 --- migrations/0005_indices.sql | 4 ---- 1 file changed, 4 deletions(-) delete mode 100644 migrations/0005_indices.sql (limited to 'migrations/0005_indices.sql') 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); -- cgit v1.3