Makes grate available as a tool in Cake. grate is a re-write of RoundhousE for reasons detailed a RoundhousE issue.
From the grate documentation:
grate is a SQL scripts migration runner, using plain, old SQL for migrations. No meta-language, no code, no config, no EF migrations. It gives you full flexibility, and full control of your migrations, and lets you use all the fancy features of you particular database system. You are not constrained to any lowest common feature set of all supported databases.
#addin nuget:?package=Cake.grate
#tool "dotnet:?package=grate&version=1.8.0"
#addin nuget:?package=Cake.grate
Task("MyTask").Does(() => {
Grate(new GrateSettings()
{
ConnectionString = "Server=(local);Database=mydatabase;Trusted_Connection=True;TrustServerCertificate=true;"
});
});
The version number of Cake.grate keeps in step with the versions released by grate, e.g. x.x.x of Cake.grate has been tested against and contains the features of grate version x.x.x.
However, providing there are no breaking changes in a more recent grate version, it is likely Cake.grate will be compatible with it, just specify grate version in the tool
referenc