remove Migrations from being exported

v0.2.1
Mason Payne 2024-10-17 20:02:08 -06:00
parent 97fb4e290e
commit 15a59a376f
3 changed files with 4 additions and 4 deletions

4
db.go
View File

@ -9,7 +9,7 @@ import (
"time"
)
type Migrations struct {
type migrations struct {
name string
query string
}
@ -34,7 +34,7 @@ func (t *LibSqlDB) setupMigrations() error {
return err
}
migration := Migrations{
migration := migrations{
name: filepath.Base(path),
query: string(content),
}

View File

@ -24,7 +24,7 @@ type LibSqlDB struct {
readYourWrites *bool // only used for embedded replica
useMigrations bool
migrationFiles embed.FS
migrations []Migrations
migrations []migrations
}
func NewLibSqlDB(primaryUrl string, opts ...Options) (*LibSqlDB, error) {

View File

@ -23,7 +23,7 @@ type LibSqlDB struct {
readYourWrites *bool // only used for embedded replica
useMigrations bool
migrationFiles embed.FS
migrations []Migrations
migrations []migrations
}
func NewLibSqlDB(primaryUrl string, opts ...Options) (*LibSqlDB, error) {