all repos — honk @ e01629f49a9f3862fe2e11a97868c541af01944e

my fork of honk

only blob local files
Ted Unangst tedu@tedunangst.com
Mon, 30 Sep 2019 16:42:59 -0400
commit

e01629f49a9f3862fe2e11a97868c541af01944e

parent

b188b09e95c9661ba24bc99d0f92983b9ad0be90

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

jump to
M upgradedb.goupgradedb.go

@@ -213,7 +213,7 @@ doordie(db, "insert into filemeta select fileid, xid, name, description, url, media, local from files")

doordie(db, "create index idx_filesxid on filemeta(xid)") doordie(db, "create index idx_filesurl on filemeta(url)") - rows, err := db.Query("select xid, media, content from files") + rows, err := db.Query("select xid, media, content from files where local = 1") if err != nil { log.Fatal(err) }