all repos — honk @ 0305b9613ab210fa5e78e72e2f58abef9fc2ce5f

my fork of honk

this was supposed to fix up tonks not bonks
Ted Unangst tedu@tedunangst.com
Mon, 20 May 2019 11:56:07 -0400
commit

0305b9613ab210fa5e78e72e2f58abef9fc2ce5f

parent

eb3473e010d970fd84c85a7b841bf39d60bbe40c

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

jump to
M upgradedb.goupgradedb.go

@@ -84,7 +84,7 @@ case 7:

users := allusers() for _, u := range users { h := fmt.Sprintf("https://%s/u/%s", serverName, u.Username) - doordie(db, fmt.Sprintf("update honks set xid = '%s/h/' || xid, honker = ?, whofore = 2 where userid = ? and honker = '' and (what = 'honk' or what = 'bonk')", h), h, u.UserID) + doordie(db, fmt.Sprintf("update honks set xid = '%s/h/' || xid, honker = ?, whofore = 2 where userid = ? and honker = '' and (what = 'honk' or what = 'tonk')", h), h, u.UserID) doordie(db, "update honks set honker = ?, whofore = 2 where userid = ? and honker = '' and what = 'bonk'", h, u.UserID) } doordie(db, "update config set value = 8 where key = 'dbversion'")