( options: Migrator.MigratorOptions<R> )
| 93 | * @since 4.0.0 |
| 94 | */ |
| 95 | export const layer = <R>( |
| 96 | options: Migrator.MigratorOptions<R> |
| 97 | ): Layer.Layer< |
| 98 | never, |
| 99 | SqlError | Migrator.MigrationError, |
| 100 | Client.SqlClient | R |
| 101 | > => Layer.effectDiscard(run(options)) |