grate 1.1.0

dotnet tool install --global grate --version 1.1.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local grate --version 1.1.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=grate&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package grate --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

grate

grate is a SQL scripts migration runner, using plain, old SQL for migrations. No meta-language, no code, no config, no EF migrations. If 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.

Minimal example

The only required argument to pass to grate is a connection string to tell it where to find your database. It will deploy to that database, looking for sql scripts in the current directory.

grate --connectionstring="Server=(localdb)\MSSQLLocalDB;Integrated Security=true;Database=grate_test"

for more configuration options, see the documentation.

grate supports the following DMBS's

  • Microsoft SQL server
  • PostgreSQL
  • MariaDB/MySQL
  • Sqlite
  • (Oracle support is in the works)

Full documentation can be found at https://erikbra.github.io/grate/.

This package has no dependencies.

Version Downloads Last updated
1.1.0 0 11/28/2021
1.0.0 35 11/22/2021
0.11.0 131 11/10/2021
0.10.1 91 10/20/2021
0.10.0 106 10/17/2021
0.9.6 99 10/11/2021
0.9.5 99 10/11/2021
0.9.4 71 10/7/2021
0.9.3 172 9/26/2021
0.9.2 177 9/26/2021