Moongate.Persistence.Migrations 0.13.0

Prefix Reserved
dotnet add package Moongate.Persistence.Migrations --version 0.13.0
                    
NuGet\Install-Package Moongate.Persistence.Migrations -Version 0.13.0
                    
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="Moongate.Persistence.Migrations" Version="0.13.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Moongate.Persistence.Migrations" Version="0.13.0" />
                    
Directory.Packages.props
<PackageReference Include="Moongate.Persistence.Migrations" />
                    
Project file
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 Moongate.Persistence.Migrations --version 0.13.0
                    
#r "nuget: Moongate.Persistence.Migrations, 0.13.0"
                    
#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 Moongate.Persistence.Migrations@0.13.0
                    
#: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=Moongate.Persistence.Migrations&version=0.13.0
                    
Install as a Cake Addin
#tool nuget:?package=Moongate.Persistence.Migrations&version=0.13.0
                    
Install as a Cake Tool

Moongate

Moongate.Persistence.Migrations

Driver-independent discovery and validation of versioned PostgreSQL SQL migrations for .NET 10.

dotnet add package Moongate.Persistence.Migrations

Core SQL lives in migrations/auth or migrations/world. Plugin bundles carry migrations/manifest.json with a stable id and the same target directories. Files use positive four-digit sequences: 0001_create_characters.sql.

The catalog orders core first, then plugins by ID, then component sequence. MigrationHistory.Validate rejects changes to applied SQL, missing files in installed components, and newly inserted earlier sequences. SHA-256 checksums normalize CRLF to LF and ignore a UTF-8 BOM. Removed plugin histories remain.

using Moongate.Persistence.Migrations.Types.Migrations;

Console.WriteLine(MigrationTarget.World);

MigrationCatalog.Load(directory, pluginsDirectory, target) reads SQL without loading plugin DLLs. MigrationHistory.ReadAsync uses a caller-owned DbCommand factory; it never creates database objects or executes migrations.

Use mgctl migrate apply to apply reviewed SQL with DbUp. See the persistence guide.

Licensed under AGPL-3.0-or-later. See the source repository and license.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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.
  • net10.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Moongate.Persistence.Migrations:

Package Downloads
Moongate.Persistence

Asynchronous PostgreSQL persistence for serial-identified entities, powered by FreeSql.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.13.0 0 10/3/2026
0.12.0 31 10/2/2026
0.11.0 60 9/30/2026
0.10.0 76 9/30/2026
0.9.0 92 9/27/2026
0.8.0 91 9/26/2026
0.7.0 92 9/24/2026
0.6.0 97 9/21/2026