Hyperlinkv0.8.0-beta.28

SqliteMigrator

<R>(options: Migrator.MigratorOptions<R>): Layer.Layer<
  never,
  Migrator.MigrationError | SqlError,
  Client.SqlClient | R
>

Creates a layer that runs the configured SQLite migrations during layer construction and provides no services.

constructors
export const layer = <R>(
  options: Migrator.MigratorOptions<R>
): Layer.Layer<
  never,
  Migrator.MigrationError | SqlError,
  Client.SqlClient | R
> => Layer.effectDiscard(run(options))