fix embedded setupMigrations

move-migrations-to-option
Mason Payne 2024-10-16 18:02:15 -06:00
parent 4ab30365a6
commit 1c635d7a52
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ func NewLibSqlDB(primaryUrl string, opts ...Options) (*LibSqlDB, error) {
db := sql.OpenDB(connector)
if l.useMigrations {
err = setupMigrations(l.migrationFiles)
err = l.setupMigrations()
if err != nil {
return nil, fmt.Errorf("error setting up migrations | %w", err)
}