← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~cjwatson/launchpad/db-snap-preferred-series into lp:launchpad/db-devel

 

Colin Watson has proposed merging lp:~cjwatson/launchpad/db-snap-preferred-series into lp:launchpad/db-devel.

Commit message:
Add SnappySeries.preferred_distro_series column.

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers): db

For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/db-snap-preferred-series/+merge/310215
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~cjwatson/launchpad/db-snap-preferred-series into lp:launchpad/db-devel.
=== added file 'database/schema/patch-2209-69-6.sql'
--- database/schema/patch-2209-69-6.sql	1970-01-01 00:00:00 +0000
+++ database/schema/patch-2209-69-6.sql	2016-11-07 18:15:57 +0000
@@ -0,0 +1,10 @@
+-- Copyright 2016 Canonical Ltd.  This software is licensed under the
+-- GNU Affero General Public License version 3 (see the file LICENSE).
+
+SET client_min_messages=ERROR;
+
+ALTER TABLE SnappySeries ADD COLUMN preferred_distro_series integer REFERENCES distroseries;
+
+COMMENT ON COLUMN SnappySeries.preferred_distro_series IS 'The preferred distribution series for use with this snappy series.';
+
+INSERT INTO LaunchpadDatabaseRevision VALUES (2209, 69, 6);


Follow ups