Bound provisioning history and poll only active operations
This commit is contained in:
@@ -378,7 +378,9 @@ export function db(): Database.Database {
|
||||
handle.exec(`CREATE INDEX IF NOT EXISTS idx_server_deployments_server
|
||||
ON server_deployments(server, server_deleted_at);
|
||||
CREATE INDEX IF NOT EXISTS idx_server_deployments_state
|
||||
ON server_deployments(state, action, server_deleted_at);`);
|
||||
ON server_deployments(state, action, server_deleted_at);
|
||||
CREATE INDEX IF NOT EXISTS idx_server_deployments_started_at
|
||||
ON server_deployments(started_at);`);
|
||||
installReportRevisions(handle);
|
||||
} catch (err) {
|
||||
handle.close();
|
||||
|
||||
Reference in New Issue
Block a user