Skip to main content Link Search Menu Expand Document (external link)

Migrator overview

Added in v1.0.0


Table of contents


constructor

layer

Signature

export declare const layer: <R>(options: Migrator.MigratorOptions<R>) => Layer.Layer<never, any, any>

Added in v1.0.0

run

Signature

export declare const run: <R>(
  options: Migrator.MigratorOptions<R>
) => Effect.Effect<readonly (readonly [id: number, name: string])[], any, any>

Added in v1.0.0

exports

From “@effect/sql/Migrator”

Re-exports all named exports from the “@effect/sql/Migrator” module.

Signature

export * from "@effect/sql/Migrator"

Added in v1.0.0