the universal sandbox runtime for agents and humans. pocketenv.io
sandbox openclaw agent claude-code vercel-sandbox deno-sandbox cloudflare-sandbox atproto sprites daytona
7
fork

Configure Feed

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

at main 13 lines 519 B view raw
1import { type InferInsertModel, type InferSelectModel, sql } from "drizzle-orm"; 2import { integer, pgTable, text, timestamp } from "drizzle-orm/pg-core"; 3 4const snapshots = pgTable("snapshots", { 5 id: text("id").primaryKey().default(sql`snapshot_id()`), 6 slug: text("slug").unique().notNull(), 7 createdAt: timestamp("created_at").defaultNow().notNull(), 8}); 9 10export type SelectSnapshot = InferSelectModel<typeof snapshots>; 11export type InsertSnapshot = InferInsertModel<typeof snapshots>; 12 13export default snapshots;