grate 1.8.0

dotnet tool install --global grate --version 1.8.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.8.0                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=grate&version=1.8.0                
nuke :add-package grate --version 1.8.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 Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.8.0 41,774 7/25/2024
1.7.4 20,477 5/16/2024
1.7.3 1,079 5/11/2024
1.6.3 1,707 5/11/2024