🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
fix(db): clear dangling music from BFR upgrade (#4262)
Deluan Quintãod4f8419d83ed
diff --git a/db/migrations/20250701010105_remove_dangling_items.sql b/db/migrations/20250701010105_remove_dangling_items.sqlnew file mode 100644index 000000000..aede49b6e--- /dev/null+++ b/db/migrations/20250701010105_remove_dangling_items.sql@@ -0,0 +1,7 @@+-- +goose Up+-- +goose StatementBegin+update media_file set missing = 1 where folder_id = '';+update album set missing = 1 where folder_ids = '[]';+-- +goose StatementEnd++-- +goose Down