all repos — honk @ d30b4a5141d5445fa0d74ff3a123a3e7814ba1a9

my fork of honk

show presubs in honkers
Ted Unangst tedu@tedunangst.com
Wed, 09 Oct 2019 15:56:06 -0400
commit

d30b4a5141d5445fa0d74ff3a123a3e7814ba1a9

parent

c71060dae106572af3f352a1273a0ade9588b554

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

jump to
M database.godatabase.go

@@ -590,7 +590,7 @@ return stmt

} func prepareStatements(db *sql.DB) { - stmtHonkers = preparetodie(db, "select honkerid, userid, name, xid, flavor, combos from honkers where userid = ? and (flavor = 'sub' or flavor = 'peep' or flavor = 'unsub') order by name") + stmtHonkers = preparetodie(db, "select honkerid, userid, name, xid, flavor, combos from honkers where userid = ? and (flavor = 'presub' or flavor = 'sub' or flavor = 'peep' or flavor = 'unsub') order by name") stmtSaveHonker = preparetodie(db, "insert into honkers (userid, name, xid, flavor, combos) values (?, ?, ?, ?, ?)") stmtUpdateFlavor = preparetodie(db, "update honkers set flavor = ? where userid = ? and xid = ? and flavor = ?") stmtUpdateHonker = preparetodie(db, "update honkers set name = ?, combos = ? where honkerid = ? and userid = ?")