all repos — honk @ 7626dbe2ff7bc5ebabb07736483c96a1e259e1bc

my fork of honk

db version probably belongs in upgrade file
Ted Unangst tedu@tedunangst.com
Wed, 16 Oct 2019 16:43:43 -0400
commit

7626dbe2ff7bc5ebabb07736483c96a1e259e1bc

parent

5f05bd2a3f027a410dfa5ccc49ad1a31c759fbfa

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

jump to
M upgradedb.goupgradedb.go

@@ -24,6 +24,8 @@ "strings"

"time" ) +var myVersion = 25 + func doordie(db *sql.DB, s string, args ...interface{}) { _, err := db.Exec(s, args...) if err != nil {
M util.goutil.go

@@ -74,7 +74,6 @@ var alreadyopendb *sql.DB

var dbname = "honk.db" var blobdbname = "blob.db" var stmtConfig *sql.Stmt -var myVersion = 25 func initdb() { schema, err := ioutil.ReadFile("schema.sql")