Compare commits

..

No commits in common. "v0.2.1" and "main" have entirely different histories.
v0.2.1 ... main

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) {