open, interoperable sandbox platform for agents and humans 📦 ✨ pocketenv.io
claude-code atproto sandbox openclaw agent
at main 15 lines 549 B view raw
1import { type InferInsertModel, type InferSelectModel, sql } from "drizzle-orm"; 2import { pgTable, text, timestamp } from "drizzle-orm/pg-core"; 3 4const secrets = pgTable("secrets", { 5 id: text("id").primaryKey().default(sql`secret_id()`), 6 name: text("name").notNull(), 7 value: text("value").notNull(), 8 redacted: text("redacted"), 9 createdAt: timestamp("created_at").defaultNow().notNull(), 10}); 11 12export type SelectSecret = InferSelectModel<typeof secrets>; 13export type InsertSecret = InferInsertModel<typeof secrets>; 14 15export default secrets;