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 volumes = pgTable("volumes", {
5 id: text("id").primaryKey().default(sql`volume_id()`),
6 slug: text("slug").unique().notNull(),
7 size: integer("size").notNull(),
8 sizeUnit: text("size_unit").notNull(),
9 createdAt: timestamp("created_at").defaultNow().notNull(),
10 updatedAt: timestamp("updated_at").defaultNow().notNull(),
11});
12
13export type SelectVolume = InferSelectModel<typeof volumes>;
14export type InsertVolume = InferInsertModel<typeof volumes>;
15
16export default volumes;