Commit 5c3f3fb6 authored by Leo Gordon's avatar Leo Gordon
Browse files

schema_fix: back-ported the change from version/2.3:procedures.*sql* to know the analysis from role

parent e402c048
......@@ -58,8 +58,8 @@ CREATE OR REPLACE VIEW progress AS
CREATE OR REPLACE VIEW msg AS
SELECT a.analysis_id, a.logic_name, m.*
FROM log_message m
LEFT JOIN job j ON (j.job_id=m.job_id)
LEFT JOIN analysis_base a ON (a.analysis_id=j.analysis_id);
LEFT JOIN role USING (role_id)
LEFT JOIN analysis_base a USING (analysis_id);
-- show statistics of Workers' real resource usage by analysis -------------------------------------------
......
......@@ -58,8 +58,8 @@ CREATE OR REPLACE VIEW progress AS
CREATE OR REPLACE VIEW msg AS
SELECT a.analysis_id, a.logic_name, m.*
FROM log_message m
LEFT JOIN job j ON (j.job_id=m.job_id)
LEFT JOIN analysis_base a ON (a.analysis_id=j.analysis_id);
LEFT JOIN role USING (role_id)
LEFT JOIN analysis_base a USING (analysis_id);
-- show statistics of Workers' real resource usage by analysis -------------------------------------------
......
......@@ -58,8 +58,8 @@ CREATE VIEW IF NOT EXISTS progress AS
CREATE VIEW IF NOT EXISTS msg AS
SELECT a.analysis_id, a.logic_name, m.*
FROM log_message m
LEFT JOIN job j ON (j.job_id=m.job_id)
LEFT JOIN analysis_base a ON (a.analysis_id=j.analysis_id);
LEFT JOIN role USING (role_id)
LEFT JOIN analysis_base a USING (analysis_id);
-- show statistics of Workers' real resource usage by analysis -------------------------------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment