CC-5420 : Upgrade: sql error
incorrect view being created.
This commit is contained in:
parent
63d4ee9a26
commit
48f11d403a
|
@ -21,9 +21,10 @@ LEFT JOIN cc_schedule AS sched
|
||||||
ON sched.id = wm.instance_id
|
ON sched.id = wm.instance_id
|
||||||
LEFT JOIN cc_webstream AS ws
|
LEFT JOIN cc_webstream AS ws
|
||||||
ON sched.stream_id = ws.id
|
ON sched.stream_id = ws.id
|
||||||
|
LEFT JOIN cc_show_instances as showinstances
|
||||||
|
ON sched.instance_id = showinstances.id
|
||||||
LEFT JOIN cc_show AS show
|
LEFT JOIN cc_show AS show
|
||||||
ON sched.instance_id = show.id;
|
ON showinstances.show_id = show.id;
|
||||||
|
|
||||||
|
|
||||||
CREATE OR REPLACE FUNCTION migrateWebstreamHistory() RETURNS int4 AS $$
|
CREATE OR REPLACE FUNCTION migrateWebstreamHistory() RETURNS int4 AS $$
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue