We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d65c504 commit 4d72690Copy full SHA for 4d72690
daemon/migrations/2021-11-22-110050_cleanup-pkgs-table/up.sql
@@ -29,3 +29,6 @@ DROP TABLE packages;
29
ALTER TABLE _packages_new RENAME TO packages;
30
31
PRAGMA foreign_keys=on;
32
+
33
+-- drop all packages that we still need to build so they get properly re-initialized next sync
34
+delete from pkgbases where id in (select pkgbase_id from packages where status != 'GOOD') and artifacts='[]';
0 commit comments