Guruprasad has proposed merging ~lgp171188/launchpad:add-distribution-code-admin into launchpad:db-devel.
Commit message: Add Distribution.code_admin Requested reviews: William Grant (wgrant): db Launchpad code reviewers (launchpad-reviewers) For more details, see: https://code.launchpad.net/~lgp171188/launchpad/+git/launchpad/+merge/437422 -- Your team Launchpad code reviewers is requested to review the proposed merge of ~lgp171188/launchpad:add-distribution-code-admin into launchpad:db-devel.
diff --git a/database/schema/patch-2211-17-0.sql b/database/schema/patch-2211-17-0.sql new file mode 100644 index 0000000..703e518 --- /dev/null +++ b/database/schema/patch-2211-17-0.sql @@ -0,0 +1,14 @@ +-- Copyright 2023 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 Distribution + ADD COLUMN code_admin integer REFERENCES Person; + +COMMENT ON COLUMN Distribution.code_admin IS 'The person or team responsible for managing the source code for packages in this distribution.'; + +CREATE INDEX distribution__code_admin__idx + ON distribution (code_admin); + +INSERT INTO LaunchpadDatabaseRevision VALUES (2211, 17, 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

