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
<PackageReference Include="Moongate.Persistence.Migrations" Version="0.13.0" />
<PackageVersion Include="Moongate.Persistence.Migrations" Version="0.13.0" />
<PackageReference Include="Moongate.Persistence.Migrations" />
paket add Moongate.Persistence.Migrations --version 0.13.0
#r "nuget: Moongate.Persistence.Migrations, 0.13.0"
#:package Moongate.Persistence.Migrations@0.13.0
#addin nuget:?package=Moongate.Persistence.Migrations&version=0.13.0
#tool nuget:?package=Moongate.Persistence.Migrations&version=0.13.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.