migtool 0.0.16

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global migtool --version 0.0.16                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local migtool --version 0.0.16                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=migtool&version=0.0.16                
nuke :add-package migtool --version 0.0.16                

Migrate

NuGet Tests

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

See contributing_guideline

License

Apache 2.0

Product 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. 
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
1.0.1 78 11/26/2024
1.0.0 134 11/26/2024
0.0.19 169 6/28/2024
0.0.18 149 6/28/2024
0.0.17 255 1/23/2024
0.0.16 245 1/17/2024
0.0.15 227 1/16/2024
0.0.14 270 1/10/2024
0.0.13 274 1/9/2024
0.0.12 295 12/26/2023
0.0.11 280 12/25/2023
0.0.10 214 12/25/2023
0.0.9 274 12/16/2023
0.0.7 236 12/13/2023
0.0.6 226 12/13/2023
0.0.5 263 12/4/2023
0.0.4 271 11/24/2023
0.0.2 265 11/23/2023
0.0.1 250 11/16/2023