@ariaflowagents/postgres-store
v0.7.0
Published
PostgreSQL-backed SessionStore for AriaFlow
Readme
@ariaflowagents/postgres-store
PostgreSQL-backed SessionStore for AriaFlow.
Install
npm install @ariaflowagents/postgres-store pgUsage
import { Pool } from 'pg';
import { PostgresSessionStore } from '@ariaflowagents/postgres-store';
const pool = new Pool({ connectionString: process.env.DATABASE_URL });
const sessionStore = new PostgresSessionStore({ client: pool });Options
tableName(default:ariaflow_sessions)autoMigrate(default: true) creates the table on first use
