TicketFlow.Stores.Migrations.Postgres 0.1.0-alpha.4.1

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

TicketFlow.Stores.Migrations.Postgres

Explicit PostgreSQL migration protocol for feature-owned TicketFlow stores (mirrors EnvelopeFlow's protocol).

  • PostgresMigrationCatalog: a feature's immutable, append-only, contiguous history of PostgresMigration(version, id, sql). Each step's identity and exact SQL bytes form a SHA-256 checksum. Never edit an applied migration; append a new step.
  • PostgresMigrationRunner over an application-owned NpgsqlDataSource: InspectAsync/PlanAsync are read-only; ApplyAsync takes a transaction advisory lock, revalidates the journal (tf_store_migrations in current_schema()), applies pending steps and records them in one transaction. Unknown future versions, gaps, checksum changes and downgrades fail with MigrationProtocolException. Lock wait defaults to 5 s and the operation to 30 s. Construction and DI never migrate.
  • PostgresSchemaBaseline / PostgresSchemaRequirements let a feature adopt an existing unversioned schema without running historical SQL.
  • PostgresBoundedKeys.Version1Sql defines tf_key_v1(VARIADIC text[]), a frozen JSON-framed UTF-8 SHA-256 key function. Features key and index fixed-size generated bytea columns instead of raw composite identifiers, then compare the raw columns for exact identity.

Migration SQL is trusted deployment code. Do not log SQL, connection strings or stored payloads.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (18)

Showing the top 5 NuGet packages that depend on TicketFlow.Stores.Migrations.Postgres:

Package Downloads
TicketFlow.Access.Stores.Postgres

Optional durable PostgreSQL roles, grants, field policies and audit for TicketFlow access control, with parameterized AccessFilter translation.

TicketFlow.Events.Stores.Postgres

Optional durable PostgreSQL event store for TicketFlow: the gapless per-workspace integration event log with retention and follower checkpoints, subscriptions, leased SKIP LOCKED delivery claims and dead letters.

TicketFlow.HelpCenter.Stores.Postgres

Optional durable PostgreSQL help center store for TicketFlow: portals, collections, articles with immutable revisions, an atomic published read model with per-locale full-text search, and abuse-resistant feedback counters.

TicketFlow.Reporting.Stores.Postgres

Optional durable PostgreSQL reporting store for TicketFlow: revision-fenced projection state, immutable facts, exactly-once 15-minute rollup cells and Access-filtered aggregates, backlog counts and fact listings.

TicketFlow.Sla.Stores.Postgres

Optional durable PostgreSQL SLA policy, per-conversation tracker and leased due-work timer storage for TicketFlow SLAs.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-alpha.4.1 58 11/23/2026
0.1.0-alpha.3.1 61 11/23/2026
0.1.0-alpha.2.1 75 11/22/2026