MigrateLib 0.0.19
dotnet add package MigrateLib --version 0.0.19
NuGet\Install-Package MigrateLib -Version 0.0.19
<PackageReference Include="MigrateLib" Version="0.0.19" />
paket add MigrateLib --version 0.0.19
#r "nuget: MigrateLib, 0.0.19"
// Install MigrateLib as a Cake Addin #addin nuget:?package=MigrateLib&version=0.0.19 // Install MigrateLib as a Cake Tool #tool nuget:?package=MigrateLib&version=0.0.19
<p align="center"> <a href="https://www.nuget.org/packages/migtool"> <img src="https://raw.githubusercontent.com/lamg/migrate/master/doc/images/logo.png" alt="Migrate – Declarative migrations with SQL" style="border-radius: 50%;width: 100px" /> </a> </p>
Migrate is a tool for performing declarative migrations by finding differences between a declared and desired database schema, and the existing one, currently in a SQLite database. 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. |
-
net8.0
- Dapper.FSharp (>= 4.7.0)
- Fabulous.AST (= 1.0.0-pre9)
- LamgEnv (>= 0.0.2)
- 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.19 | 120 | 6/28/2024 |
0.0.18 | 107 | 6/28/2024 |
0.0.17 | 144 | 1/23/2024 |
0.0.16 | 125 | 1/17/2024 |
0.0.14 | 128 | 1/10/2024 |
0.0.13 | 128 | 1/9/2024 |
0.0.12 | 138 | 12/26/2023 |
0.0.11 | 127 | 12/25/2023 |
0.0.10 | 149 | 12/25/2023 |
0.0.9 | 111 | 12/16/2023 |
0.0.8 | 149 | 12/13/2023 |
0.0.7 | 101 | 12/13/2023 |
0.0.6 | 113 | 12/13/2023 |
0.0.4 | 150 | 11/24/2023 |
0.0.3 | 130 | 11/23/2023 |
0.0.2 | 127 | 11/23/2023 |
0.0.1 | 122 | 11/23/2023 |