From c0b96daa8d49117e4fc852fcf7beda89a44ce19c Mon Sep 17 00:00:00 2001 From: Iris System Date: Mon, 29 Apr 2024 16:48:37 +1200 Subject: [PATCH] fix: re-add drop for old system_fronters view 831b6d33018532a6f4e9b3fdfa93da2faeba204d removed the view, and this line in the cleanup SQL. The DB migration for 6-char IDs fails to apply if this view exists - so even though the view itself no longer exists in the code, we should always drop it on cleanup. --- PluralKit.Core/Database/clean.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/PluralKit.Core/Database/clean.sql b/PluralKit.Core/Database/clean.sql index 5e407a21..6badec2c 100644 --- a/PluralKit.Core/Database/clean.sql +++ b/PluralKit.Core/Database/clean.sql @@ -3,6 +3,7 @@ -- This does mean we can't use any functions in row triggers, etc. Still unsure how to handle this. drop view if exists system_last_switch; +drop view if exists system_fronters; drop view if exists member_list; drop view if exists group_list;