[Collab-qa-commits] r1003 - udd/src

neronus-guest at alioth.debian.org neronus-guest at alioth.debian.org
Fri Aug 8 17:20:51 UTC 2008


Author: neronus-guest
Date: 2008-08-08 17:20:50 +0000 (Fri, 08 Aug 2008)
New Revision: 1003

Modified:
   udd/src/setup-db.sql
Log:
updated primary keys for *popcon_src_*


Modified: udd/src/setup-db.sql
===================================================================
--- udd/src/setup-db.sql	2008-08-08 17:17:40 UTC (rev 1002)
+++ udd/src/setup-db.sql	2008-08-08 17:20:50 UTC (rev 1003)
@@ -45,11 +45,11 @@
  
 CREATE TABLE popcon_src_max (
    source text, insts int, vote int, olde int, recent int, nofiles int,
-   PRIMARY KEY (package));
+   PRIMARY KEY (source));
 
 CREATE TABLE popcon_src_average (
    source text, insts int, vote int, olde int, recent int, nofiles int,
-   PRIMARY KEY (package));
+   PRIMARY KEY (source));
 
 CREATE TABLE ubuntu_popcon (
    package text, insts int, vote int, olde int, recent int, nofiles int,
@@ -57,11 +57,11 @@
  
 CREATE TABLE ubuntu_popcon_src_max (
    source text, insts int, vote int, olde int, recent int, nofiles int,
-   PRIMARY KEY (package));
+   PRIMARY KEY (source));
 
 CREATE TABLE ubuntu_popcon_src_average (
    source text, insts int, vote int, olde int, recent int, nofiles int,
-   PRIMARY KEY (package));
+   PRIMARY KEY (source));
 
 CREATE TABLE bugs_unarchived
   (id int PRIMARY KEY, package text, source text, arrival timestamp, status text,




More information about the Collab-qa-commits mailing list