1
0
forked from boos/BoosAPI

fix route grouping and codex websocket regressions

This commit is contained in:
cita
2026-03-18 20:38:01 +08:00
parent 332007d4fb
commit f769f43909
38 changed files with 2453 additions and 636 deletions
+13
View File
@@ -0,0 +1,13 @@
ALTER TABLE `token_routes` ADD `route_mode` text DEFAULT 'pattern';
--> statement-breakpoint
CREATE TABLE `route_group_sources` (
`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
`group_route_id` integer NOT NULL,
`source_route_id` integer NOT NULL,
FOREIGN KEY (`group_route_id`) REFERENCES `token_routes`(`id`) ON UPDATE no action ON DELETE cascade,
FOREIGN KEY (`source_route_id`) REFERENCES `token_routes`(`id`) ON UPDATE no action ON DELETE cascade
);
--> statement-breakpoint
CREATE UNIQUE INDEX `route_group_sources_group_source_unique` ON `route_group_sources` (`group_route_id`,`source_route_id`);
--> statement-breakpoint
CREATE INDEX `route_group_sources_source_route_id_idx` ON `route_group_sources` (`source_route_id`);
+7
View File
@@ -92,6 +92,13 @@
"when": 1773682200000,
"tag": "0013_oauth_multi_provider",
"breakpoints": true
},
{
"idx": 13,
"version": "6",
"when": 1773855000000,
"tag": "0014_explicit_group_routes",
"breakpoints": true
}
]
}