MT#57099 Fix diff on v_sound_set_files view

During the replication the statement syntax is changed a little bit so
it ends up as diff in ngcp-db-compare-schemes.

Change-Id: Id6095c90235142304bcb0432244d4cf13db74071
mr11.4
Mykola Malkov 3 years ago
parent 6135289106
commit b0078a5c9f

@ -23,7 +23,7 @@ WITH RECURSIVE cte as (
v.id AS data_set_id,
JSON_ARRAY(v.id) AS parent_chain
FROM (SELECT s.*, h.id as handle_id, h.name as handle_name
FROM voip_sound_sets s, voip_sound_handles h
FROM (voip_sound_sets s, voip_sound_handles h)
) AS v
LEFT JOIN voip_sound_files f ON f.handle_id = v.handle_id AND f.set_id = v.id
WHERE v.parent_id IS NULL

Loading…
Cancel
Save