TicketFlow.Stores.Migrations.Postgres
0.1.0-alpha.4.1
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
<PackageReference Include="TicketFlow.Stores.Migrations.Postgres" Version="0.1.0-alpha.4.1" />
<PackageVersion Include="TicketFlow.Stores.Migrations.Postgres" Version="0.1.0-alpha.4.1" />
<PackageReference Include="TicketFlow.Stores.Migrations.Postgres" />
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"
#:package TicketFlow.Stores.Migrations.Postgres@0.1.0-alpha.4.1
#addin nuget:?package=TicketFlow.Stores.Migrations.Postgres&version=0.1.0-alpha.4.1&prerelease
#tool nuget:?package=TicketFlow.Stores.Migrations.Postgres&version=0.1.0-alpha.4.1&prerelease
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 ofPostgresMigration(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.PostgresMigrationRunnerover an application-ownedNpgsqlDataSource:InspectAsync/PlanAsyncare read-only;ApplyAsynctakes a transaction advisory lock, revalidates the journal (tf_store_migrationsincurrent_schema()), applies pending steps and records them in one transaction. Unknown future versions, gaps, checksum changes and downgrades fail withMigrationProtocolException. Lock wait defaults to 5 s and the operation to 30 s. Construction and DI never migrate.PostgresSchemaBaseline/PostgresSchemaRequirementslet a feature adopt an existing unversioned schema without running historical SQL.PostgresBoundedKeys.Version1Sqldefinestf_key_v1(VARIADIC text[]), a frozen JSON-framed UTF-8 SHA-256 key function. Features key and index fixed-size generatedbyteacolumns 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 | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Npgsql (>= 10.0.3)
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 |