open, interoperable sandbox platform for agents and humans 📦 ✨
pocketenv.io
claude-code
atproto
sandbox
openclaw
agent
1import { type InferInsertModel, type InferSelectModel, sql } from "drizzle-orm";
2import { integer, pgTable, text, timestamp } from "drizzle-orm/pg-core";
3
4const variables = pgTable("variables", {
5 id: text("id").primaryKey().default(sql`variable_id()`),
6 name: text("name").notNull(),
7 value: text("value").notNull(),
8 createdAt: timestamp("created_at").defaultNow().notNull(),
9 updatedAt: timestamp("updated_at").defaultNow().notNull(),
10});
11
12export type SelectVariable = InferSelectModel<typeof variables>;
13export type InsertVariable = InferInsertModel<typeof variables>;
14
15export default variables;