1
-- Copyright 2011 Canonical Ltd. This software is licensed under the
2
-- GNU Affero General Public License version 3 (see the file LICENSE).
4
SET client_min_messages=ERROR;
6
-- Add a column to order DSP (this will allow controlling of the build
7
-- order for overlays).
8
ALTER TABLE DistroSeriesParent
9
ADD COLUMN ordering INTEGER NOT NULL DEFAULT 1;
12
CREATE INDEX distroseriesparent__derived_series__ordering__idx
13
ON DistroSeriesParent USING btree (derived_series, ordering);
15
-- Drop redundant index.
16
DROP INDEX distroseriesparent__derivedseries__idx;
18
INSERT INTO LaunchpadDatabaseRevision VALUES (2208, 72, 0);