                     termValueColumn <- iri
                 ))
             }
-        }
-    }
-    
-    public init(version: Version? = nil) throws {
-        db = try Connection()
-        i2tcache = LRUCache(capacity: 1024)
-        t2icache = LRUCache(capacity: 1024)
-        try initializeTables()
-        if let v = version {
-            try db.run(sysTable.update(versionColumn <- Int64(v)))
         }
     }
     


    public init(filename: String, initialize: Bool = false) throws {
        db = try Connection(filename)
//        db.trace { print($0) }
        i2tcache = LRUCache(capacity: 1024)
        t2icache = LRUCache(capacity: 1024)
        if initialize {
            try initializeTables()
        }
    }
    

            // )
        })
        try db.run(quadsTable.createIndex(graphColumn))
        try db.run(quadsTable.createIndex(graphColumn, predColumn, objColumn, subjColumn))

        try db.run(termsTable.create { t in     // CREATE TABLE "terms" (
            t.column(idColumn, primaryKey: .autoincrement) //     "id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
