MigrateLib 0.0.16
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 MigrateLib --version 0.0.16
NuGet\Install-Package MigrateLib -Version 0.0.16
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="MigrateLib" Version="0.0.16" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MigrateLib" Version="0.0.16" />
<PackageReference Include="MigrateLib" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MigrateLib --version 0.0.16
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MigrateLib, 0.0.16"
#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.
#:package MigrateLib@0.0.16
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MigrateLib&version=0.0.16
#tool nuget:?package=MigrateLib&version=0.0.16
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Migrate
Migrate is a tool for migrating databases in a declarative way. It can be used from the command line or as a library.
Installation
If you just want to test the tool without installing .Net, then you can use a Docker image:
docker run -it 'mcr.microsoft.com/dotnet/nightly/sdk:8.0' bash
Inside the container run:
export PATH="$PATH:/root/.dotnet/tools"
After having .Net in your system you can run
dotnet tool install --global migtool
Quickstart
mkdir my_database_project
cd my_database_project
mig init
# generated project files with example definitions
mig status
# output shows migration for existing definitions
mig commit
# executes migration
mig log -s
# output shows migration metadata and a summary of executed steps
Usage
See usage
Why Migrate?
See motivation
Contributing
License
| 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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.
-
net8.0
- Dapper.FSharp (>= 4.7.0)
- FParsec (>= 1.1.1)
- MBW.Utilities.ManagedSqlite.Sql (>= 0.11.0)
- Microsoft.Data.Sqlite (>= 8.0.0)
- Nuget.Versioning (>= 6.8.0)
- Spectre.Console (>= 0.48.0)
- SQLitePCLRaw.bundle_sqlite3 (>= 2.1.7)
- SqlParserCS (>= 0.1.7)
- SqlPrettify (>= 1.0.3)
- Tomlyn (>= 0.17.0)
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 |
|---|---|---|
| 0.0.18 | 226 | 6/28/2024 |
| 0.0.17 | 247 | 1/23/2024 |
| 0.0.16 | 190 | 1/17/2024 |
| 0.0.14 | 205 | 1/10/2024 |
| 0.0.13 | 206 | 1/9/2024 |
| 0.0.12 | 239 | 12/26/2023 |
| 0.0.11 | 231 | 12/25/2023 |
| 0.0.10 | 254 | 12/25/2023 |
| 0.0.9 | 185 | 12/16/2023 |
| 0.0.8 | 247 | 12/13/2023 |
| 0.0.7 | 197 | 12/13/2023 |
| 0.0.6 | 217 | 12/13/2023 |
| 0.0.4 | 236 | 11/24/2023 |
| 0.0.3 | 204 | 11/23/2023 |
| 0.0.2 | 174 | 11/23/2023 |
| 0.0.1 | 214 | 11/23/2023 |