only blob local files

This commit is contained in:
Ted Unangst 2019-09-30 16:42:59 -04:00
parent 33f04efd9a
commit 5c5676b14f
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ func upgradedb() {
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)
}