TicketFlow.Workspaces.Stores.Postgres 0.1.0-alpha.3.1

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

TicketFlow.Workspaces.Stores.Postgres

Durable PostgreSQL storage for TicketFlow workspaces. PostgresWorkspaceStore implements IWorkspaceSettingsStore, IInboxStore, ITeamStore and IBusinessCalendarStore over an application-owned NpgsqlDataSource.

  • Explicit schema initialization: await store.InitializeAsync() applies the append-only, checksummed PostgresWorkspaceMigrations.Catalog (component ticketflow.workspaces) through TicketFlow.Stores.Migrations.Postgres in the data source's current schema. Nothing is created implicitly.
  • Every key includes the full workspace scope; primary keys and indexes use fixed-size tf_key_v1 SHA-256 keys and raw columns are compared for exact identity. Team members live in tf_workspace_team_members with a per-user index, so ListTeamsForUserAsync (and principal team snapshots) is one indexed query.
  • Updates and deletes are compare-and-set on revision; creates start at revision 1. Per-workspace capacity and the per-user team limit (256) are checked under transaction-scoped advisory locks. Channel bindings are unique per workspace (migration v2 index; reuse is WorkspaceWriteRejection.ChannelBindingInUse).
  • Inbox and team lists translate the caller's AccessFilter with PostgresAccessFilterTranslator inside the query; an untranslatable filter returns no rows. Ordering uses COLLATE "C".
  • Rows carry format_version; calendar schedules use the canonical BusinessCalendarCodec text. Undecodable rows throw.
await using var dataSource = NpgsqlDataSource.Create(connectionString);
services.AddTicketFlow().AddAccessControl().AddPostgresAccessStores(dataSource)
    .AddWorkspaces().AddPostgresWorkspaceStores(dataSource);
await new PostgresWorkspaceStore(dataSource).InitializeAsync();
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 (1)

Showing the top 1 NuGet packages that depend on TicketFlow.Workspaces.Stores.Postgres:

Package Downloads
TicketFlow

Catch-all meta-package for the TicketFlow stack: core primitives, support domains, in-memory and PostgreSQL stores, ASP.NET Core hosting, SignalR realtime, background workers, Blazor management UI, and MCP server toolsets.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-alpha.4.1 41 11/23/2026
0.1.0-alpha.3.1 39 11/23/2026
0.1.0-alpha.2.1 45 11/22/2026