Atproto AMA app
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 13 lines 300 B view raw
1import { drizzle } from "drizzle-orm/postgres-js"; 2import postgres from "postgres"; 3 4import * as schema from "./schema"; 5 6const url = process.env.DATABASE_URL; 7if (!url) { 8 throw new Error("DATABASE_URL is required"); 9} 10 11const client = postgres(url); 12 13export const db = drizzle(client, { schema });