Migrondi.Core
1.0.0-beta-013
dotnet add package Migrondi.Core --version 1.0.0-beta-013
NuGet\Install-Package Migrondi.Core -Version 1.0.0-beta-013
<PackageReference Include="Migrondi.Core" Version="1.0.0-beta-013" />
<PackageVersion Include="Migrondi.Core" Version="1.0.0-beta-013" />
<PackageReference Include="Migrondi.Core" />
paket add Migrondi.Core --version 1.0.0-beta-013
#r "nuget: Migrondi.Core, 1.0.0-beta-013"
#addin nuget:?package=Migrondi.Core&version=1.0.0-beta-013&prerelease
#tool nuget:?package=Migrondi.Core&version=1.0.0-beta-013&prerelease
Migrondi
Migrondi is a SQL Migrations tool designed to be simple and execute simple migrations. Write SQL and execute SQL against your database.
Migrondi Runs on the major three platforms on both x64
and arm64
.
Install
For .NET users
Grab it as a dotnet tool
dotnet tool install Migrondi
For Non .NET users
Grab the binary from the releases page or build from source and put it on your PATH
, that way the command is available globally e.g.
Linux/OSX
# you can put this at the end of your ~/.bashrc or ~/.zshrc
# $HOME/Apps/migrondi is a directory where you have downloaded your "Migrondi" binary
export MIGRONDI_HOME="$HOME/Apps/migrondi"
export PATH="$PATH:$MIGRONDI_HOME"
Windows users
You can add it to your powershell profile via code $profile
(or your preferred editor) and add the following:
# you can put this at the end of your $profile file
$env:MIGRONDI_HOME="$HOME/Apps/migrondi"
$env:PATH += ";$env:MIGRONDI_HOME"
or add it via the System Properties
- Open the Start Search, type in "SystemPropertiesAdvanced.exe",
- Click the “Environment Variables…” button.
- Edit the PATH env variable and add the location of the migrondi executable.
- You might need to restart your machine for the changes to take effect.
Quick Usage Reference
Description:
A dead simple SQL migrations runner, apply or rollback migrations at your ease
Usage:
Migrondi [command] [options]
Options:
--version Show version information
-?, -h, --help Show help and usage information
Commands:
init, setup <path> Creates a migrondi.json file where the comand is invoked or the path provided []
create, new <name> This will create a new SQL migration file in the configured directory for migrations
apply, up <amount> Runs migrations against the configured database []
down, rollback <amount> Runs migrations against the configured database []
list, show Reads migrations files and the database to show what is the current state of the migrations
show-state, status <name> Checks whether the migration file has been applied or not to the database
Build
Use the build.fsx (dotnet fsi build.fsx
) script or clone and run
dotnet publish -c Release -r <RID> --self-contained true -p:PublishSingleFile=true -o dist
replace RID and the angle brackets with any of the following
this should give you a binary file in the dist
directory, after that put it wherever you want and add it to your path and you can start using it
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 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. 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. |
-
net8.0
- FSharp.Core (>= 9.0.100)
- FSharp.UMX (>= 1.1.0)
- FsToolkit.ErrorHandling (>= 4.15.1)
- FsToolkit.ErrorHandling.TaskResult (>= 4.15.1)
- IcedTasks (>= 0.11.3)
- Microsoft.Extensions.Logging (>= 8.0.0)
- Microsoft.Extensions.Logging.Console (>= 8.0.0)
- RepoDb (>= 1.13.1)
- RepoDb.MySqlConnector (>= 1.13.1)
- RepoDb.PostgreSql (>= 1.13.1)
- RepoDb.Sqlite.Microsoft (>= 1.13.1)
- RepoDb.SqlServer (>= 1.13.1)
- Thoth.Json.Net (>= 11.0.0)
-
net9.0
- FSharp.Core (>= 9.0.100)
- FSharp.UMX (>= 1.1.0)
- FsToolkit.ErrorHandling (>= 4.15.1)
- FsToolkit.ErrorHandling.TaskResult (>= 4.15.1)
- IcedTasks (>= 0.11.3)
- Microsoft.Extensions.Logging (>= 8.0.0)
- Microsoft.Extensions.Logging.Console (>= 8.0.0)
- RepoDb (>= 1.13.1)
- RepoDb.MySqlConnector (>= 1.13.1)
- RepoDb.PostgreSql (>= 1.13.1)
- RepoDb.Sqlite.Microsoft (>= 1.13.1)
- RepoDb.SqlServer (>= 1.13.1)
- Thoth.Json.Net (>= 11.0.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 |
---|---|---|
1.0.0-beta-013 | 199 | 5/12/2025 |
1.0.0-beta-012 | 172 | 5/12/2025 |
1.0.0-beta-011 | 124 | 10/31/2024 |
1.0.0-beta-010 | 112 | 2/18/2024 |
1.0.0-beta-009 | 73 | 2/17/2024 |
1.0.0-beta-008 | 88 | 2/8/2024 |
1.0.0-beta-007 | 69 | 2/8/2024 |
1.0.0-beta-006 | 93 | 10/11/2023 |
1.0.0-beta-005 | 79 | 10/4/2023 |
1.0.0-beta-004 | 80 | 10/2/2023 |
1.0.0-beta-003 | 90 | 10/1/2023 |
1.0.0-beta-002 | 94 | 10/1/2023 |
1.0.0-beta-001 | 92 | 9/27/2023 |