add domain wipe

This commit is contained in:
Emily
2024-11-11 16:54:02 +01:00
parent f06d7d78fc
commit 2929b229c4
11 changed files with 440 additions and 5 deletions

View File

@@ -13,7 +13,7 @@ const EventSchema = new Schema<TEvent>({
project_id: { type: Types.ObjectId, index: 1 },
name: { type: String, required: true, index: 1 },
metadata: Schema.Types.Mixed,
session: { type: String },
session: { type: String, index: 1 },
flowHash: { type: String },
created_at: { type: Date, default: () => Date.now(), index: true },
})