only blob local files
Ted Unangst tedu@tedunangst.com
Mon, 30 Sep 2019 16:42:59 -0400
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
upgradedb.go
→
upgradedb.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) }