grate 1.4.0

.NET 6.0
dotnet tool install --global grate --version 1.4.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.4.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=grate&version=1.4.0
nuke :add-package grate --version 1.4.0

grate

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.

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

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

Product Versions
.NET net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.4.0 2,622 9/2/2022
1.3.2 2,323 7/8/2022
1.3.1 200 7/8/2022
1.3.0 4,063 6/8/2022
1.2.0 5,717 12/17/2021
1.1.0 1,258 11/28/2021
1.0.0 270 11/22/2021
0.11.0 1,675 11/10/2021
0.10.1 223 10/20/2021
0.10.0 224 10/17/2021
0.9.6 212 10/11/2021
0.9.5 214 10/11/2021
0.9.4 182 10/7/2021
0.9.3 289 9/26/2021
0.9.2 307 9/26/2021