Migrator overview
Added in v1.0.0
Table of contents
constructor
makeLayer
Signature
export declare const makeLayer: (
options: _.MigratorOptions
) => Layer.Layer<never, _.MigrationError | SqlError, SqliteClient>
Added in v1.0.0
run
Signature
export declare const run: (
options: _.MigratorOptions
) => Effect.Effect<ReadonlyArray<readonly [id: number, name: string]>, SqlError | _.MigrationError, SqliteClient>
Added in v1.0.0
loader
fromBabelGlob
Signature
export declare const fromBabelGlob: (migrations: Record<string, any>) => _.Loader
Added in v1.0.0
fromGlob
Signature
export declare const fromGlob: (migrations: Record<string, () => Promise<any>>) => _.Loader
Added in v1.0.0