← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~blr/launchpad/db-patch-2209-65-0 into lp:launchpad/db-devel

 

Bayard 'kit' Randel has proposed merging lp:~blr/launchpad/db-patch-2209-65-0 into lp:launchpad/db-devel.

Commit message:
Add patch to make Product.vcs_default.

Requested reviews:
  William Grant (wgrant)
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~blr/launchpad/db-patch-2209-65-0/+merge/258574

Provides a column for an enumeration of a project's default version control system (Product.vcs_default).
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~blr/launchpad/db-patch-2209-65-0 into lp:launchpad/db-devel.
=== added file 'database/schema/patch-2209-65-0.sql'
--- database/schema/patch-2209-65-0.sql	1970-01-01 00:00:00 +0000
+++ database/schema/patch-2209-65-0.sql	2015-05-08 00:16:49 +0000
@@ -0,0 +1,11 @@
+-- Copyright 2015 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 product
+    ADD COLUMN vcs_default integer;
+
+COMMENT ON COLUMN product.vcs_default IS 'An enumeration specifying the default version control system for this product/project.';
+
+INSERT INTO LaunchpadDatabaseRevision VALUES (2209, 65, 0);