the universal sandbox runtime for agents and humans.
pocketenv.io
sandbox
openclaw
agent
claude-code
vercel-sandbox
deno-sandbox
cloudflare-sandbox
atproto
sprites
daytona
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;