effect-io-ai

Package: @effect/sql-pglite
Module: PgliteMigrator

PgliteMigrator.run

Runs SQL migrations using the configured SqlClient, returning the migrations that were applied.

Signature

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

Source

Since v4.0.0