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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package grate --version 1.8.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. 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 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.