Skip to content
Effect 4.0 is here. One ecosystem. Zero dependencies.

SqliteMigrator

2 exports Since v1.0.0 Source

Constructor

Since v1.0.0

Signature

declare function layer<R>(options: MigratorOptions<R>): Layer<never, any, any>
Since v1.0.0

Signature

declare const run: <R>(options: Migrator.MigratorOptions<R>) => Effect.Effect<ReadonlyArray<readonly [id: number, name: string]>, SqlError | Migrator.MigrationError, Client.SqlClient | R>