3
3
SET client_min_messages=ERROR;
5
5
ALTER TABLE DistroSeriesDifference
7
7
CONSTRAINT distroseriesdifference__parentseries__fk REFERENCES distroseries;
10
UPDATE DistroSeriesDifference SET parent_series = (SELECT id from DistroSeries WHERE name = 'sid') FROM Distribution, DistroSeries WHERE Distribution.name = 'ubuntu' AND DistroSeries.id = derived_series AND DistroSeries.distribution = Distribution.id;
9
13
CREATE INDEX distroseriesdifference__parent_series__idx ON DistroSeriesDifference(parent_series);