Trace data migrations (#26809)
This commit is contained in:
parent
274033cd52
commit
7235c9c9b8
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ export const layer = Layer.effect(
|
|||
if (completed) continue
|
||||
|
||||
log.info("running data migration", { name: migration.name })
|
||||
yield* migration.run
|
||||
yield* migration.run.pipe(Effect.withSpan("DataMigration", { attributes: { name: migration.name } }))
|
||||
Database.use((db) =>
|
||||
db
|
||||
.insert(DataMigrationTable)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue