Skip to content

PgMigrator

2 exports Added in v1.0.0 Source

Constructor

run

Added in v1.0.0 Source

Signature

declare const run: <R2 = never>(
  options: Migrator.MigratorOptions<R2>,
) => Effect.Effect<
  ReadonlyArray<readonly [id: number, name: string]>,
  Migrator.MigrationError | SqlError,
  FileSystem | Path | PgClient | Client.SqlClient | CommandExecutor | R2
>;

Layers

layer

Added in v1.0.0 Source

Signature

declare function layer<R>(options: MigratorOptions<R>): Layer<never, any, any>;