remove multi-column indexes

This commit is contained in:
Joe Ardent 2023-06-25 11:00:33 -07:00
parent 0bcd508577
commit b89d463e50

View file

@ -69,7 +69,11 @@ create table if not exists watch_notes (
);
-- indices, not needed for covens
create index if not exists witch_dex on witches ( username, email );
create index if not exists watch_dex on watches ( title, length, release_date, added_by );
create index if not exists ww_dex on witch_watch ( witch, watch, public );
create index if not exists note_dex on watch_notes ( witch, watch, public );
create index if not exists witch_username_dex on witches (username);
create index if not exists witch_email_dex on witches (email);
create index if not exists watch_title_dex on watches (title);
create index if not exists watch_added_by_dex on watches (added_by);
create index if not exists ww_witch_dex on witch_watch (witch);
create index if not exists ww_watch_dex on witch_watch (watch);
create index if not exists note_witch_dex on watch_notes (witch);
create index if not exists note_watch_dex on watch_notes (watch);