diff --git a/upgradedb.go b/upgradedb.go index 611b36f..eb26026 100644 --- a/upgradedb.go +++ b/upgradedb.go @@ -65,6 +65,7 @@ func upgradedb() { doordie(db, "update config set value = 5 where key = 'dbversion'") fallthrough case 5: + doordie(db, "delete from donks where honkid in (select honkid from honks where what = 'zonk')") doordie(db, "delete from honks where what = 'zonk'") doordie(db, "update config set value = 6 where key = 'dbversion'") fallthrough