all repos — honk @ 515aba81570946a13471e20e00824e4206807b21

my fork of honk

delete to be orphaned honks first during upgrade
Ted Unangst tedu@tedunangst.com
Mon, 06 May 2019 10:43:00 -0400
commit

515aba81570946a13471e20e00824e4206807b21

parent

067b7eb1d16ebbd16267fb8b63511c1c26bd5175

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M upgradedb.goupgradedb.go

@@ -65,6 +65,7 @@ doordie(db, "update honkers set combos = ''")

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