[Collab-qa-commits] r2200 - udd/sql

Andreas Tille tille at alioth.debian.org
Sat Mar 31 16:42:47 UTC 2012


Author: tille
Date: 2012-03-31 16:42:46 +0000 (Sat, 31 Mar 2012)
New Revision: 2200

Modified:
   udd/sql/bibref.sql
Log:
Set '' as default for package column in bibref table


Modified: udd/sql/bibref.sql
===================================================================
--- udd/sql/bibref.sql	2012-03-30 09:56:09 UTC (rev 2199)
+++ udd/sql/bibref.sql	2012-03-31 16:42:46 UTC (rev 2200)
@@ -6,8 +6,9 @@
 	source	text NOT NULL,
 	key	text NOT NULL,
 	value	text NOT NULL,
+	package text DEFAULT '',
 	rank    int  NOT NULL,
-	PRIMARY KEY (source,key,rank) -- this helps preventing more than one times the same key for a single package
+	PRIMARY KEY (source,key,package,rank) -- this helps preventing more than one times the same key for a single package
 );
 
 GRANT SELECT ON bibref TO PUBLIC;




More information about the Collab-qa-commits mailing list