refactor(schema): rename V2 session events and normalize payloads (#35217)
This commit is contained in:
@@ -15,6 +15,7 @@ export const EventTable = sqliteTable(
|
||||
.notNull()
|
||||
.references(() => EventSequenceTable.aggregate_id, { onDelete: "cascade" }),
|
||||
seq: integer().notNull(),
|
||||
created: integer().notNull(),
|
||||
type: text().notNull(),
|
||||
data: text({ mode: "json" }).$type<Record<string, unknown>>().notNull(),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user