what2watch/migrations/20230426221940_init.down.sql
2023-07-08 22:00:26 -07:00

16 lines
485 B
SQL

-- indices
drop index if exists user_username_dex;
drop index if exists user_email_dex;
drop index if exists watch_title_dex;
drop index if exists witch_added_by_dex;
drop index if exists quests_user_dex;
drop index if exists quests_watch_dex;
drop index if exists note_user_dex;
drop index if exists note_watch_dex;
-- tables
drop table if exists watch_quests;
drop table if exists watch_notes;
drop table if exists follows;
drop table if exists users;
drop table if exists watches;