[Collab-qa-commits] r1002 - udd/src
neronus-guest at alioth.debian.org
neronus-guest at alioth.debian.org
Fri Aug 8 17:17:41 UTC 2008
Author: neronus-guest
Date: 2008-08-08 17:17:40 +0000 (Fri, 08 Aug 2008)
New Revision: 1002
Modified:
udd/src/setup-db.sql
Log:
Renamed *popcon_src_*.package to source
Added a few GRANTS and indexes
Modified: udd/src/setup-db.sql
===================================================================
--- udd/src/setup-db.sql 2008-08-08 16:53:55 UTC (rev 1001)
+++ udd/src/setup-db.sql 2008-08-08 17:17:40 UTC (rev 1002)
@@ -44,11 +44,11 @@
PRIMARY KEY (package));
CREATE TABLE popcon_src_max (
- package text, insts int, vote int, olde int, recent int, nofiles int,
+ source text, insts int, vote int, olde int, recent int, nofiles int,
PRIMARY KEY (package));
CREATE TABLE popcon_src_average (
- package text, insts int, vote int, olde int, recent int, nofiles int,
+ source text, insts int, vote int, olde int, recent int, nofiles int,
PRIMARY KEY (package));
CREATE TABLE ubuntu_popcon (
@@ -56,11 +56,11 @@
PRIMARY KEY (package));
CREATE TABLE ubuntu_popcon_src_max (
- package text, insts int, vote int, olde int, recent int, nofiles int,
+ source text, insts int, vote int, olde int, recent int, nofiles int,
PRIMARY KEY (package));
CREATE TABLE ubuntu_popcon_src_average (
- package text, insts int, vote int, olde int, recent int, nofiles int,
+ source text, insts int, vote int, olde int, recent int, nofiles int,
PRIMARY KEY (package));
CREATE TABLE bugs_unarchived
@@ -111,12 +111,21 @@
CREATE INDEX sources_distribution_idx on sources(distribution);
CREATE INDEX sources_release_idx on sources(release);
CREATE INDEX sources_component_idx on sources(component);
+CREATE INDEX ubuntu_packages_source_idx on ubuntu_packages(source);
+CREATE INDEX ubuntu_sources_distribution_idx on ubuntu_sources(distribution);
+CREATE INDEX ubuntu_sources_release_idx on ubuntu_sources(release);
+CREATE INDEX ubuntu_sources_component_idx on ubuntu_sources(component);
GRANT SELECT ON packages TO PUBLIC;
GRANT SELECT ON sources TO PUBLIC;
+GRANT SELECT ON ubuntu_Packages TO PUBLIC;
+GRANT SELECT ON ubuntu_sources TO PUBLIC;
GRANT SELECT ON popcon TO PUBLIC;
GRANT SELECT ON popcon_src_average TO PUBLIC;
GRANT SELECT ON popcon_src_max TO PUBLIC;
+GRANT SELECT ON ubuntu_popcon TO PUBLIC;
+GRANT SELECT ON ubuntu_popcon_src_average TO PUBLIC;
+GRANT SELECT ON ubuntu_popcon_src_max TO PUBLIC;
GRANT SELECT ON bugs TO PUBLIC;
GRANT SELECT ON bugs_archived TO PUBLIC;
GRANT SELECt ON bugs_unarchived TO PUBLIC;
More information about the Collab-qa-commits
mailing list