11 lines
347 B
TypeScript
11 lines
347 B
TypeScript
|
|
import { pgTable, text, timestamp } from "drizzle-orm/pg-core";
|
||
|
|
|
||
|
|
export const towerLog = pgTable("tower_log", {
|
||
|
|
id: text("id").primaryKey(),
|
||
|
|
narrative: text("narrative").notNull(),
|
||
|
|
eventType: text("event_type").notNull(),
|
||
|
|
agentId: text("agent_id"),
|
||
|
|
jobId: text("job_id"),
|
||
|
|
createdAt: timestamp("created_at").notNull().defaultNow(),
|
||
|
|
});
|