( options: Migrator.MigratorOptions<R> )
| 42 | * @since 4.0.0 |
| 43 | */ |
| 44 | export const layer = <R>( |
| 45 | options: Migrator.MigratorOptions<R> |
| 46 | ): Layer.Layer<never, Migrator.MigrationError | SqlError, Client.SqlClient | R> => Layer.effectDiscard(run(options)) |