Queue server creation and verify health and selected map before completion

This commit is contained in:
2026-09-17 17:14:36 -04:00
parent f37014fad9
commit c2ad5cc95a
12 changed files with 232 additions and 50 deletions
+9
View File
@@ -276,3 +276,12 @@ CREATE TABLE IF NOT EXISTS server_deployment_events (
message TEXT NOT NULL
);
CREATE INDEX IF NOT EXISTS idx_server_deployment_events ON server_deployment_events(deployment_id, id);
CREATE TABLE IF NOT EXISTS server_creation_jobs (
deployment_id TEXT PRIMARY KEY REFERENCES server_deployments(id) ON DELETE CASCADE,
server TEXT NOT NULL,
port INTEGER NOT NULL,
game_mode TEXT NOT NULL,
map_slug TEXT NOT NULL,
expected_map TEXT NOT NULL
);