[Collab-qa-commits] r1800 - udd/sql
Stuart Prescott
themill-guest at alioth.debian.org
Thu Sep 23 09:53:19 UTC 2010
Author: themill-guest
Date: 2010-09-23 09:53:17 +0000 (Thu, 23 Sep 2010)
New Revision: 1800
Modified:
udd/sql/setup.sql
udd/sql/upgrade.sql
Log:
* add missing column to upload_history
* add ALTERs to upgrade.sql for recent upload_history changes
Modified: udd/sql/setup.sql
===================================================================
--- udd/sql/setup.sql 2010-09-18 11:05:59 UTC (rev 1799)
+++ udd/sql/setup.sql 2010-09-23 09:53:17 UTC (rev 1800)
@@ -430,7 +430,7 @@
CREATE TABLE upload_history
(source text, version debversion, date timestamp with time zone,
- changed_by text, changed_by_name text, changed_by_email text, maintainer text, maintainer_name text, maintainer_email text, nmu boolean, signed_by text, signed_by_name text, signed_by_email text, key_id text, file text,
+ changed_by text, changed_by_name text, changed_by_email text, maintainer text, maintainer_name text, maintainer_email text, nmu boolean, signed_by text, signed_by_name text, signed_by_email text, key_id text, distribution text, file text,
fingerprint text,
PRIMARY KEY (source, version));
Modified: udd/sql/upgrade.sql
===================================================================
--- udd/sql/upgrade.sql 2010-09-18 11:05:59 UTC (rev 1799)
+++ udd/sql/upgrade.sql 2010-09-23 09:53:17 UTC (rev 1800)
@@ -319,3 +319,9 @@
);
GRANT SELECT ON pts TO guestdd;
+-- 2010-09-20
+-- upload_history rewrite
+ALTER TABLE upload_history ADD distribution text;
+ALTER TABLE upload_history ADD file text;
+ALTER TABLE upload_history_architecture ADD file text;
+ALTER TABLE upload_history_closes ADD file text;
More information about the Collab-qa-commits
mailing list