Fluens.Migrations.PostgreSql 0.7.10

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

Fluens.Migrations.PostgreSql

PostgreSQL provider for Fluens.Migrations — jsonb attempt_history column type, citext/timestamptz column helpers, and FluentMigrator.Postgres partial-index filters.

Installation

dotnet add package Fluens.Migrations.PostgreSql

Usage

Opt in from the AddFluens callback on FluentMigrator's own ConfigureRunner pipeline — there is no separate top-level registration method:

services.AddFluentMigratorCore()
    .ConfigureRunner(rb => rb
        .AddPostgres()                              // FluentMigrator's own provider registration
        .WithGlobalConnectionString(connectionString)
        .ScanIn(typeof(CreateOrdersSchema).Assembly).For.Migrations()
        .AddFluens(f => f.AddPostgres()));           // Fluens provider-conventions opt-in

AddPostgres() registers PostgreSqlMigrationConventions as the singleton IMigrationProviderConventions (TryAddSingleton — calling it twice, or alongside AddSqlServer(), keeps whichever ran first). FluentMigrator's own constructor injection resolves it into every FluensMigration subclass at runtime — a single, unchanged migration class creates the same schema on both providers.

Conventions

Convention Value
JsonColumnType (dead-letter attempt_history) jsonb
ApplyFilter FluentMigrator.Postgres's .Filter(predicate) extension, applied verbatim

Column type helpers

using Fluens.Migrations.PostgreSql;

Create.Table("customers").InSchema("orders")
    .WithColumn("id").AsInt32().PrimaryKey().Identity()
    .WithColumn("email").AsCitext().NotNullable()          // case-insensitive text
    .WithColumn("created_at").AsTimestampTz().NotNullable(); // timestamp with time zone

AsCitext() requires the citext extension to be enabled in the target database.

License

This project is licensed under the MIT 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.

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
0.7.10 0 9/13/2026
0.7.9 41 9/11/2026
0.7.8 46 9/10/2026
0.7.7 41 9/10/2026