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 net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.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 9,391 9/2/2022
1.3.2 3,355 7/8/2022
1.3.1 336 7/8/2022
1.3.0 7,091 6/8/2022
1.2.0 6,835 12/17/2021
1.1.0 1,282 11/28/2021
1.0.0 295 11/22/2021
0.11.0 1,701 11/10/2021
0.10.1 248 10/20/2021
0.10.0 251 10/17/2021
0.9.6 236 10/11/2021
0.9.5 237 10/11/2021
0.9.4 204 10/7/2021
0.9.3 312 9/26/2021
0.9.2 332 9/26/2021