NSchema.Core
5.13.0
dotnet add package NSchema.Core --version 5.13.0
NuGet\Install-Package NSchema.Core -Version 5.13.0
<PackageReference Include="NSchema.Core" Version="5.13.0" />
<PackageVersion Include="NSchema.Core" Version="5.13.0" />
<PackageReference Include="NSchema.Core" />
paket add NSchema.Core --version 5.13.0
#r "nuget: NSchema.Core, 5.13.0"
#:package NSchema.Core@5.13.0
#addin nuget:?package=NSchema.Core&version=5.13.0
#tool nuget:?package=NSchema.Core&version=5.13.0
NSchema.Core is the engine behind the NSchema CLI, a declarative database schema migration tool. You describe the schema you want using familiar SQL syntax; the library compares it against the current state of your database and runs the SQL to bring it in line.
While this library can be consumed directly, I'd recommend using the CLI tool unless you have a specific reason to build your own harness around the Core package.
Installation
dotnet add package NSchema.Core
dotnet add package NSchema.Postgres # or another provider
Documentation
Full documentation lives at nschema.dev. For embedding the engine directly in a .NET application:
- Embedding the engine — a getting-started walkthrough
- Concepts & pipeline — the domain model and how a run flows
- Configuration (C#) — building, running, operations, policies
- Extension points — every interface you can swap or extend
- DDL language and grammar reference
License
See 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
- Microsoft.Extensions.Configuration (>= 10.0.11)
- Microsoft.Extensions.DependencyInjection (>= 10.0.11)
- Microsoft.Extensions.FileSystemGlobbing (>= 10.0.11)
- Microsoft.Extensions.Hosting (>= 10.0.11)
- Microsoft.Extensions.Logging (>= 10.0.11)
- Microsoft.Extensions.Logging.Console (>= 10.0.11)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on NSchema.Core:
| Package | Downloads |
|---|---|
|
NSchema.Postgres
PostgreSQL provider for NSchema |
|
|
NSchema.Sqlite
Sqlite provider for NSchema |
|
|
NSchema.Aws
AWS provider for NSchema |
|
|
NSchema.SqlServer
SQL Server provider for NSchema |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 5.13.0 | 189 | 8/27/2026 |
| 5.11.0 | 169 | 8/17/2026 |
| 5.10.2 | 240 | 8/13/2026 |
| 5.10.1 | 105 | 8/13/2026 |
| 5.10.0 | 119 | 8/12/2026 |
| 5.9.3 | 100 | 8/11/2026 |
| 5.9.2 | 104 | 8/11/2026 |
| 5.9.1 | 104 | 8/11/2026 |
| 5.9.0 | 167 | 8/11/2026 |
| 5.8.0 | 106 | 8/9/2026 |
| 5.7.0 | 155 | 8/9/2026 |
| 5.6.1 | 120 | 8/7/2026 |
| 5.6.0 | 132 | 8/7/2026 |
| 5.5.0 | 123 | 8/5/2026 |
| 5.4.0 | 194 | 8/4/2026 |
| 5.3.0 | 195 | 8/3/2026 |
| 5.2.0 | 167 | 8/3/2026 |
| 5.1.0 | 169 | 8/2/2026 |
| 5.0.1 | 131 | 8/1/2026 |
| 5.0.0 | 224 | 8/1/2026 |
