0.0.8 • Published 4 years ago
estk-snapshots-pg v0.0.8
import { PostgresSnapshotStorage } from 'estk-snapshots-pg';
import { PostgresClient } from 'estk-pg';
const client = await PostgresClient({
url: process.env.DATABASE_URL
});
const Widget = PostgresSnapshotStorage({ client, tableName: 'widget' + Date.now() });