|
|
@ -97,7 +97,9 @@ func doMigrate(db *sql.DB) error {
|
|
|
|
return fmt.Errorf("failed to open iofs migration source: %w", err)
|
|
|
|
return fmt.Errorf("failed to open iofs migration source: %w", err)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
dr, err := sqlite3.WithInstance(db, &sqlite3.Config{})
|
|
|
|
dr, err := sqlite3.WithInstance(db, &sqlite3.Config{
|
|
|
|
|
|
|
|
MigrationsTable: "schema_migrations_sqliteexporter",
|
|
|
|
|
|
|
|
})
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return fmt.Errorf("failed to initialize sqlite3 migrate driver: %w", err)
|
|
|
|
return fmt.Errorf("failed to initialize sqlite3 migrate driver: %w", err)
|
|
|
|
}
|
|
|
|
}
|
|
|
|