## Summary Add a PostgreSQL-backed `session.Store` implementation that uses celeris's native PostgreSQL driver. ## Scope - Implement `PostgresStore` satisfying `session.Store` - Use celeris's native PostgreSQL driver (v1.4.0 #123-#131) - Auto-create sessions table if not exists (`CREATE TABLE IF NOT EXISTS`) - Columns: `id TEXT PRIMARY KEY`, `data JSONB NOT NULL`, `expires_at TIMESTAMPTZ NOT NULL` - `Get()` checks expiry (`WHERE expires_at > NOW()`) - `Reset()` truncates the table - Periodic cleanup of expired rows (configurable interval) - Table name configurable (default: `sessions`)
Summary
Add a PostgreSQL-backed
session.Storeimplementation that uses celeris's native PostgreSQL driver.Scope
PostgresStoresatisfyingsession.StoreCREATE TABLE IF NOT EXISTS)id TEXT PRIMARY KEY,data JSONB NOT NULL,expires_at TIMESTAMPTZ NOT NULLGet()checks expiry (WHERE expires_at > NOW())Reset()truncates the tablesessions)