expose the DB in order to be usable in a mapping library

move-migrations-to-option v0.1.0
Mason Payne 2024-08-22 00:16:35 -06:00
parent cfd22dfc9c
commit e5725dc249
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ import (
)
type LibSqlDB struct {
db *sql.DB
DB *sql.DB
connector *libsql.Connector // only used for embedded replica
dir string // only used for embedded replica
localDBName string // only used for embedded replica

View File

@ -13,7 +13,7 @@ import (
)
type LibSqlDB struct {
db *sql.DB
DB *sql.DB
dir string // only used for embedded replica
localDBName string // only used for embedded replica but needs to be here for consistency