← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~mwhudson/launchpad:add-distroseries-underlying-arch into launchpad:db-devel

 

Michael Hudson-Doyle has proposed merging ~mwhudson/launchpad:add-distroseries-underlying-arch into launchpad:db-devel.

Commit message:
add distroarchseries.underlying_architecturetag to the schema

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~mwhudson/launchpad/+git/launchpad/+merge/490637

Bikeshedding on the name of the column welcome
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~mwhudson/launchpad:add-distroseries-underlying-arch into launchpad:db-devel.
diff --git a/database/schema/patch-2211-44-0.sql b/database/schema/patch-2211-44-0.sql
new file mode 100644
index 0000000..9d3ef29
--- /dev/null
+++ b/database/schema/patch-2211-44-0.sql
@@ -0,0 +1,9 @@
+-- Copyright 2025 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 distroarchseries
+    ADD COLUMN underlying_architecturetag text;
+
+INSERT INTO LaunchpadDatabaseRevision VALUES (2211, 44, 0);