Queue server creation and verify health and selected map before completion
This commit is contained in:
@@ -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
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user