9 lines
231 B
MySQL
9 lines
231 B
MySQL
|
-- 2024-12-16
|
||
|
|
||
|
-- Relate VODs to streams by matching the same date
|
||
|
|
||
|
-- Update existing VODs to associate them with the corresponding stream
|
||
|
UPDATE api.vods
|
||
|
SET stream_id = streams.id
|
||
|
FROM api.streams
|
||
|
WHERE vods.date = streams.date;
|