Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix: remove unused code as it's complained by go static checker (#420)

spinningbot951a3b503748
diff --git a/plugin/db/sqlite/sqlite.go b/plugin/db/sqlite/sqlite.go
index 1f087cf00d..d111e33e21 100644
--- a/plugin/db/sqlite/sqlite.go
+++ b/plugin/db/sqlite/sqlite.go
@@ -14,9 +14,6 @@ import (
"go.uber.org/zap"
)
-//go:embed sqlite_migration_schema.sql
-var migrationSchema string
-
var (
_ db.Driver = (*Driver)(nil)
)
@@ -27,9 +24,7 @@ func init() {
// Driver is the SQLite driver.
type Driver struct {
- l *zap.Logger
- connectionCtx db.ConnectionContext
- dbType db.Type
+ l *zap.Logger
db *sql.DB
}