microservice.toolkit.migrationmanager
0.9.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package microservice.toolkit.migrationmanager --version 0.9.0
NuGet\Install-Package microservice.toolkit.migrationmanager -Version 0.9.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="microservice.toolkit.migrationmanager" Version="0.9.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add microservice.toolkit.migrationmanager --version 0.9.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: microservice.toolkit.migrationmanager, 0.9.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install microservice.toolkit.migrationmanager as a Cake Addin #addin nuget:?package=microservice.toolkit.migrationmanager&version=0.9.0 // Install microservice.toolkit.migrationmanager as a Cake Tool #tool nuget:?package=microservice.toolkit.migrationmanager&version=0.9.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Migration Manager
The library is a work in progress. It is not yet considered production-ready.
A collection of extension methods to manage schema evolution across all your environments.
Supported databases:
- PostgreSQL
- SQL Server
- SQLite
- MySQL
- MariaDB
- Cassandra
- CockroachDB
How to install
Package Manager
Install-Package microservice.toolkit.migrationmanager -Version 0.9.0
.NET CLI
dotnet add package microservice.toolkit.migrationmanager --version 0.9.0
Package Reference
<PackageReference Include="microservice.toolkit.migrationmanager" Version="0.9.0" />
How to use
Under the hood, the library use Evolve to apply DB migrations, so before to start using Migration Manager, install the required package:
<PackageReference Include="Evolve" Version="3.0.0" />
Example code:
var dbConnection = new MySqlConnection("Server=<HOST>;User ID=<USERNAME>;Password=<PASSWORD>;database=<DATABASE_NAME>;");
var migrationsFolder = "./migrations";
var migrationExtension = ".mysql";
manager.Apply(migrationsFolder, migrationExtension);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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.
-
net6.0
- microservice.toolkit.core (>= 0.9.0)
- Microsoft.Extensions.Logging.Abstractions (>= 6.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
1.1.1 | 111 | 7/19/2024 | |
1.1.0 | 83 | 7/19/2024 | |
1.0.0 | 100 | 6/10/2024 | |
0.11.2 | 124 | 4/6/2024 | |
0.11.1 | 126 | 3/30/2024 | |
0.11.0 | 128 | 3/30/2024 | |
0.10.2 | 324 | 3/15/2023 | |
0.10.1 | 333 | 1/18/2023 | |
0.10.0 | 349 | 1/11/2023 | |
0.9.1 | 362 | 11/22/2022 | |
0.9.0 | 368 | 11/16/2022 | |
0.8.0 | 502 | 10/12/2022 | |
0.7.0 | 480 | 4/28/2022 | |
0.6.2 | 490 | 2/28/2022 | |
0.6.1 | 472 | 2/21/2022 | |
0.6.0 | 693 | 1/15/2022 | |
0.5.0 | 375 | 12/8/2021 | |
0.4.9 | 323 | 12/2/2021 | |
0.4.8 | 319 | 12/2/2021 | |
0.4.7 | 323 | 12/2/2021 | |
0.4.6 | 329 | 12/1/2021 | |
0.4.5 | 3,428 | 11/25/2021 | |
0.4.4 | 351 | 11/2/2021 | |
0.4.3 | 315 | 11/2/2021 | |
0.4.2 | 387 | 10/27/2021 | |
0.4.1 | 363 | 10/21/2021 | |
0.4.0 | 515 | 10/3/2021 |