feat(epic222): Workshop — Timmy as wizard presence, world state, WS bootstrap (#31)
This commit is contained in:
@@ -3,4 +3,5 @@ export * from "./invoices";
|
||||
export * from "./conversations";
|
||||
export * from "./messages";
|
||||
export * from "./bootstrap-jobs";
|
||||
export * from "./world-events";
|
||||
export * from "./sessions";
|
||||
|
||||
10
lib/db/src/schema/world-events.ts
Normal file
10
lib/db/src/schema/world-events.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { pgTable, text, timestamp } from "drizzle-orm/pg-core";
|
||||
|
||||
export const worldEvents = pgTable("world_events", {
|
||||
id: text("id").primaryKey(),
|
||||
type: text("type").notNull(),
|
||||
agentId: text("agent_id"),
|
||||
summary: text("summary").notNull(),
|
||||
jobId: text("job_id"),
|
||||
createdAt: timestamp("created_at").notNull().defaultNow(),
|
||||
});
|
||||
Reference in New Issue
Block a user