Moongate.Persistence.Migrations
0.21.0
Prefix Reserved
dotnet add package Moongate.Persistence.Migrations --version 0.21.0
NuGet\Install-Package Moongate.Persistence.Migrations -Version 0.21.0
<PackageReference Include="Moongate.Persistence.Migrations" Version="0.21.0" />
<PackageVersion Include="Moongate.Persistence.Migrations" Version="0.21.0" />
<PackageReference Include="Moongate.Persistence.Migrations" />
paket add Moongate.Persistence.Migrations --version 0.21.0
#r "nuget: Moongate.Persistence.Migrations, 0.21.0"
#:package Moongate.Persistence.Migrations@0.21.0
#addin nuget:?package=Moongate.Persistence.Migrations&version=0.21.0
#tool nuget:?package=Moongate.Persistence.Migrations&version=0.21.0
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 | Versions 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. |
-
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.21.0 | 110 | 11/3/2026 |
| 0.20.1 | 123 | 10/22/2026 |
| 0.20.0 | 112 | 10/22/2026 |
| 0.19.0 | 123 | 10/16/2026 |
| 0.18.0 | 125 | 10/16/2026 |
| 0.17.0 | 115 | 10/14/2026 |
| 0.16.0 | 117 | 10/9/2026 |
| 0.15.0 | 115 | 10/7/2026 |
| 0.14.0 | 115 | 10/4/2026 |
| 0.13.0 | 117 | 10/3/2026 |
| 0.12.0 | 115 | 10/2/2026 |
| 0.11.0 | 115 | 9/30/2026 |
| 0.10.0 | 119 | 9/30/2026 |
| 0.9.0 | 125 | 9/27/2026 |
| 0.8.0 | 117 | 9/26/2026 |
| 0.7.0 | 124 | 9/24/2026 |
| 0.6.0 | 126 | 9/21/2026 |