Add migration for streaming table

This commit is contained in:
Owen
2026-08-25 10:42:56 -04:00
parent 23764feb4f
commit 72d2c79793
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -402,6 +402,9 @@ export default async function migration() {
db.prepare(
`ALTER TABLE 'siteResources' ADD 'requiresExitNodeConnection' integer DEFAULT false NOT NULL;`
).run();
db.prepare(
`ALTER TABLE 'eventStreamingDestinations' ADD 'sendAISessionLogs' integer DEFAULT false NOT NULL;`
).run();
const insertRoleAction = db.prepare(`
INSERT INTO 'roleActions' ("roleId", "actionId", "orgId")