Merge lp:~cjwatson/launchpad/db-improve-livefs-scoring into lp:launchpad/db-devel

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

Commit message

Add LiveFS.relative_build_score.

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
=== added file 'database/schema/patch-2209-56-3.sql'
--- database/schema/patch-2209-56-3.sql 1970-01-01 00:00:00 +0000
+++ database/schema/patch-2209-56-3.sql 2017-07-18 16:37:40 +0000
@@ -0,0 +1,10 @@
1-- Copyright 2017 Canonical Ltd. This software is licensed under the
2-- GNU Affero General Public License version 3 (see the file LICENSE).
3
4SET client_min_messages=ERROR;
5
6ALTER TABLE LiveFS ADD COLUMN relative_build_score integer DEFAULT 0 NOT NULL;
7
8COMMENT ON COLUMN LiveFS.relative_build_score IS 'A delta to the build score that is applied to all builds of this live filesystem.';
9
10INSERT INTO LaunchpadDatabaseRevision VALUES (2209, 56, 3);

Subscribers

People subscribed via source and target branches

to status/vote changes: