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 (will be used to control the build order
8
ALTER TABLE DistroSeriesParent
9
ADD COLUMN ordering INTEGER NOT NULL DEFAULT 1;
11
-- Update existing DSPs.
12
UPDATE DistroSeriesParent
16
CREATE INDEX distroseriesparent__ordering
17
ON DistroSeriesParent (ordering);
19
INSERT INTO LaunchpadDatabaseRevision VALUES (2208, 99, 0);