Basic migrations functionality for ClickHouse.Ado
PM> Install-Package ClickHouse.Net.Migrations
> dotnet add package ClickHouse.Net.Migrations
In your Startup.cs
add to ConfigureServices
:
services.AddClickHouseMigrations();
and define how to resolve ClickHouseConnectionSettings
:
services.AddTransient(p => new ClickHouseMigrationSettings(..));
Then add IClickHouseMigrations
as dependency in any of your classes.