|
|
@ -92,7 +92,7 @@ func NewSqliteSDKTraceExporterWithDB(db *sql.DB) (sdktrace.SpanExporter, error)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func doMigrate(db *sql.DB) error {
|
|
|
|
func doMigrate(db *sql.DB) error {
|
|
|
|
d, err := iofs.New(migrations, "migrations")
|
|
|
|
d, err := iofs.New(migrations, "sqliteexporter")
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return fmt.Errorf("failed to open iofs migration source: %w", err)
|
|
|
|
return fmt.Errorf("failed to open iofs migration source: %w", err)
|
|
|
|
}
|
|
|
|
}
|
|
|
|