Excalibur.Migrate.Tool
3.0.0-alpha.185
This is a prerelease version of Excalibur.Migrate.Tool.
There is a newer prerelease version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global Excalibur.Migrate.Tool --version 3.0.0-alpha.185
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local Excalibur.Migrate.Tool --version 3.0.0-alpha.185
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Excalibur.Migrate.Tool&version=3.0.0-alpha.185&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package Excalibur.Migrate.Tool --version 3.0.0-alpha.185
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Excalibur.Migrate.Tool
CLI tool for managing Excalibur event sourcing database schema migrations.
Installation
dotnet tool install --global Excalibur.Migrate.Tool
Usage
Apply all pending migrations
excalibur-migrate up --provider sqlserver --connection "Server=.;Database=MyDb;..."
excalibur-migrate up --provider postgres --connection "Host=localhost;Database=mydb;..."
Rollback to a specific version
excalibur-migrate down --to 20260101120000 --provider sqlserver --connection "..."
Show migration status
excalibur-migrate status --provider sqlserver --connection "..."
Generate SQL script (without applying)
excalibur-migrate script --output migrations.sql --provider sqlserver --connection "..."
Options
| Option | Description |
|---|---|
--provider, -p |
Database provider: sqlserver or postgres |
--connection, -c |
Connection string |
--assembly, -a |
Assembly containing migration scripts |
--namespace, -n |
Namespace prefix for migration resources |
--verbose, -v |
Enable verbose output |
Configuration File
You can also use an excalibur-migrate.json configuration file:
{
"provider": "sqlserver",
"connectionString": "Server=.;Database=MyDb;Trusted_Connection=True;",
"migrationAssembly": "MyApp.Migrations.dll",
"migrationNamespace": "MyApp.Migrations"
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.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 |
|---|---|---|
| 3.0.0-alpha.198 | 42 | 5/28/2026 |
| 3.0.0-alpha.197 | 54 | 5/28/2026 |
| 3.0.0-alpha.194 | 51 | 5/20/2026 |
| 3.0.0-alpha.193 | 51 | 5/13/2026 |
| 3.0.0-alpha.192 | 41 | 5/13/2026 |
| 3.0.0-alpha.191 | 49 | 5/13/2026 |
| 3.0.0-alpha.189 | 48 | 5/12/2026 |
| 3.0.0-alpha.187 | 53 | 5/8/2026 |
| 3.0.0-alpha.185 | 52 | 5/7/2026 |
| 3.0.0-alpha.183 | 50 | 5/7/2026 |
| 3.0.0-alpha.182 | 50 | 5/6/2026 |
| 3.0.0-alpha.181 | 45 | 5/6/2026 |
| 3.0.0-alpha.179 | 40 | 5/6/2026 |
| 3.0.0-alpha.178 | 53 | 4/25/2026 |
| 3.0.0-alpha.177 | 55 | 4/25/2026 |
| 3.0.0-alpha.176 | 52 | 4/25/2026 |
| 3.0.0-alpha.175 | 45 | 4/24/2026 |
| 3.0.0-alpha.174 | 57 | 4/24/2026 |
| 3.0.0-alpha.173 | 44 | 4/24/2026 |
| 3.0.0-alpha.170 | 49 | 4/23/2026 |
Loading failed