MigLib 1.0.2
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 MigLib --version 1.0.2
NuGet\Install-Package MigLib -Version 1.0.2
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="MigLib" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MigLib --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MigLib, 1.0.2"
#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 MigLib as a Cake Addin #addin nuget:?package=MigLib&version=1.0.2 // Install MigLib as a Cake Tool #tool nuget:?package=MigLib&version=1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Migrate is a tool for performing declarative migrations by finding differences between an expected database schema, and the existing one, currently in a SQLite database.
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:9.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 test_db
cd test_db
mig init
# generated project files with example definitions
mig gen
# output shows migration for existing definitions
mig exec
# executes migration
mig log
# output shows migration metadata and a summary of executed steps
Features
Contributing
Areas where contributions are welcomed:
- Support for other RDBMS like PostgresSQL
- SQL generation
- SQL parsing
- bug fixes
- installation, packaging and release process
How to contribute:
- Open an issue to discuss the change and approach
- Add relevant tests
- Create a pull request mentioning the issue and also including a summary of the problem and approach to solve it
- Wait for the review
License
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net9.0
- FSharp.Core (>= 9.0.100)
- FSharpPlus (>= 1.6.1)
- FsToolkit.ErrorHandling (>= 4.18.0)
- Microsoft.Data.Sqlite (>= 9.0.0)
- SqliteParserCs (>= 1.0.0)
- SqlParserCS (>= 0.5.7)
- SqlPrettify (>= 1.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.