effect-io-ai

Package: @effect/sql-clickhouse
Module: ClickhouseMigrator

ClickhouseMigrator.layer

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

Signature

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

Source

Since v4.0.0