Colin Watson has proposed merging lp:~cjwatson/launchpad/db-code-async-delete into lp:launchpad/db-devel.
Commit message: Add Branch.deletion_status and GitRepository.deletion_status columns. Requested reviews: Stuart Bishop (stub): db Launchpad code reviewers (launchpad-reviewers): db Related bugs: Bug #1793266 in Launchpad itself: "Unable to delete repository" https://bugs.launchpad.net/launchpad/+bug/1793266 For more details, see: https://code.launchpad.net/~cjwatson/launchpad/db-code-async-delete/+merge/364875 -- Your team Launchpad code reviewers is requested to review the proposed merge of lp:~cjwatson/launchpad/db-code-async-delete into lp:launchpad/db-devel.
=== added file 'database/schema/patch-2210-01-0.sql' --- database/schema/patch-2210-01-0.sql 1970-01-01 00:00:00 +0000 +++ database/schema/patch-2210-01-0.sql 2019-03-21 11:09:31 +0000 @@ -0,0 +1,12 @@ +-- Copyright 2019 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 Branch ADD COLUMN deletion_status integer; +ALTER TABLE GitRepository ADD COLUMN deletion_status integer; + +COMMENT ON COLUMN Branch.deletion_status IS 'The deletion status of this branch.'; +COMMENT ON COLUMN GitRepository.deletion_status IS 'The deletion status of this repository.'; + +INSERT INTO LaunchpadDatabaseRevision VALUES (2210, 01, 0);
_______________________________________________ Mailing list: https://launchpad.net/~launchpad-reviewers Post to : [email protected] Unsubscribe : https://launchpad.net/~launchpad-reviewers More help : https://help.launchpad.net/ListHelp

