Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.94 KB

readme.md

File metadata and controls

48 lines (32 loc) · 1.94 KB

Cake.grate

Build NuGet package

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.

Table of Contents

Install

#addin nuget:?package=Cake.grate

Usage

#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;"
    });
});

Compatibility

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