Merge lp:~cjwatson/launchpad/db-livefsbuild-version into lp:launchpad/db-devel

Proposed by Colin Watson
Status: Merged
Merged at revision: 13214
Proposed branch: lp:~cjwatson/launchpad/db-livefsbuild-version
Merge into: lp:launchpad/db-devel
Diff against target: 14 lines (+10/-0)
1 file modified
database/schema/patch-2209-56-2.sql (+10/-0)
To merge this branch: bzr merge lp:~cjwatson/launchpad/db-livefsbuild-version
Reviewer Review Type Date Requested Status
William Grant db Approve
Stuart Bishop db Pending
Review via email: mp+271171@code.launchpad.net

Commit message

Add LiveFSBuild.version.

Description of the change

Add LiveFSBuild.version. This is part of making it possible for users (e.g. cloud-image) to set their own serial numbers for builds. The existing LiveFSBuild.version property is informational from LP's point of view, so it shouldn't be a problem to make it user-settable.

To post a comment you must log in.
Revision history for this message
William Grant (wgrant) :
review: Approve (db)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'database/schema/patch-2209-56-2.sql'
2--- database/schema/patch-2209-56-2.sql 1970-01-01 00:00:00 +0000
3+++ database/schema/patch-2209-56-2.sql 2015-09-15 18:28:29 +0000
4@@ -0,0 +1,10 @@
5+-- Copyright 2015 Canonical Ltd. This software is licensed under the
6+-- GNU Affero General Public License version 3 (see the file LICENSE).
7+
8+SET client_min_messages=ERROR;
9+
10+ALTER TABLE LiveFSBuild ADD COLUMN version text;
11+
12+COMMENT ON COLUMN LiveFSBuild.version IS 'A version string for this build.';
13+
14+INSERT INTO LaunchpadDatabaseRevision VALUES (2209, 56, 2);

Subscribers

People subscribed via source and target branches

to status/vote changes: