[evolvis-commits] r8040: Moved confusing 2.6 files in SQL_2. 6 dir↵
mirabilos at evolvis.org
mirabilos at evolvis.org
Thu Feb 24 15:55:50 CET 2011
Author: mirabilos
Date: 2011-02-24 15:55:50 +0100 (Thu, 24 Feb 2011)
New Revision: 8040
Added:
trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/
trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/DefaultValues.sql
trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/SourceForge.sql
trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/dbusers.sql
trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/languages.tab
trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/replicate.sh
trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/replication-master.sql
trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/replication-reset-master.sql
trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/replication-reset-slave.sql
trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/replication-slave.sql
trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/replication.plan
trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/trove_cat.tab
trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/user_rating.sql
Removed:
trunk/gforge_base/evolvisforge-5.1/gforge/db/DefaultValues.sql
trunk/gforge_base/evolvisforge-5.1/gforge/db/SourceForge.sql
trunk/gforge_base/evolvisforge-5.1/gforge/db/dbusers.sql
trunk/gforge_base/evolvisforge-5.1/gforge/db/languages.tab
trunk/gforge_base/evolvisforge-5.1/gforge/db/replicate.sh
trunk/gforge_base/evolvisforge-5.1/gforge/db/replication-master.sql
trunk/gforge_base/evolvisforge-5.1/gforge/db/replication-reset-master.sql
trunk/gforge_base/evolvisforge-5.1/gforge/db/replication-reset-slave.sql
trunk/gforge_base/evolvisforge-5.1/gforge/db/replication-slave.sql
trunk/gforge_base/evolvisforge-5.1/gforge/db/replication.plan
trunk/gforge_base/evolvisforge-5.1/gforge/db/trove_cat.tab
trunk/gforge_base/evolvisforge-5.1/gforge/db/user_rating.sql
Log:
Moved confusing 2.6 files in SQL_2.6 dir
Deleted: trunk/gforge_base/evolvisforge-5.1/gforge/db/DefaultValues.sql
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/db/DefaultValues.sql 2011-02-24 14:55:48 UTC (rev 8039)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/db/DefaultValues.sql 2011-02-24 14:55:50 UTC (rev 8040)
@@ -1,114 +0,0 @@
-INSERT INTO groups (group_id) VALUES (1);
-
-INSERT INTO users (user_id, user_name, email, user_pw)
-VALUES (100,'None','noreply at sourceforge.net','*********');
-
-INSERT INTO bug_resolution (resolution_id, resolution_name) VALUES (1,'Fixed');
-INSERT INTO bug_resolution (resolution_id, resolution_name) VALUES (2,'Invalid');
-INSERT INTO bug_resolution (resolution_id, resolution_name) VALUES (3,'Wont Fix');
-INSERT INTO bug_resolution (resolution_id, resolution_name) VALUES (4,'Later');
-INSERT INTO bug_resolution (resolution_id, resolution_name) VALUES (5,'Remind');
-INSERT INTO bug_resolution (resolution_id, resolution_name) VALUES (6,'Works For Me');
-INSERT INTO bug_resolution (resolution_id, resolution_name) VALUES (100,'None');
-INSERT INTO bug_resolution (resolution_id, resolution_name) VALUES (101,'Duplicate');
-
-INSERT INTO bug_status (status_id, status_name) VALUES (1,'Open');
-INSERT INTO bug_status (status_id, status_name) VALUES (3,'Closed');
-INSERT INTO bug_status (status_id, status_name) VALUES (100,'None');
-
-INSERT INTO bug_category (bug_category_id, group_id, category_name) VALUES (100,1,'None');
-
-INSERT INTO bug_group (bug_group_id, group_id, group_name) VALUES (100,1,'None');
-
-INSERT INTO bug (bug_id,group_id,status_id,category_id,bug_group_id,submitted_by,assigned_to,resolution_id)
- VALUES (100,1,100,100,100,100,100,100);
-
-INSERT INTO patch_category (patch_category_id, group_id, category_name) VALUES (100,1,'None');
-
-INSERT INTO patch_status (patch_status_id, status_name) VALUES (1,'Open');
-INSERT INTO patch_status (patch_status_id, status_name) VALUES (2,'Closed');
-INSERT INTO patch_status (patch_status_id, status_name) VALUES (3,'Deleted');
-INSERT INTO patch_status (patch_status_id, status_name) VALUES (4,'Postponed');
-INSERT INTO patch_status (patch_status_id, status_name) VALUES (100,'None');
-
-INSERT INTO patch (group_id,patch_status_id,patch_category_id,submitted_by,assigned_to)
- VALUES (1,100,100,100,100);
-
-INSERT INTO project_status (status_id, status_name) VALUES (1,'Open');
-INSERT INTO project_status (status_id, status_name) VALUES (2,'Closed');
-INSERT INTO project_status (status_id, status_name) VALUES (100,'None');
-INSERT INTO project_status (status_id, status_name) VALUES (3,'Deleted');
-
-INSERT INTO project_group_list (group_project_id,group_id) VALUES (1,1);
-
-INSERT INTO project_task (group_project_id,created_by,status_id)
- VALUES (1,100,100);
-
-INSERT INTO survey_question_types (id, type) VALUES (1,'Radio Buttons 1-5');
-INSERT INTO survey_question_types (id, type) VALUES (2,'Text Area');
-INSERT INTO survey_question_types (id, type) VALUES (3,'Radio Buttons Yes/No');
-INSERT INTO survey_question_types (id, type) VALUES (4,'Comment Only');
-INSERT INTO survey_question_types (id, type) VALUES (5,'Text Field');
-INSERT INTO survey_question_types (id, type) VALUES (100,'None');
-
-INSERT INTO support_status values('1','Open');
-INSERT INTO support_status values('2','Closed');
-INSERT INTO support_status values('3','Deleted');
-
-INSERT INTO support_category VALUES ('100','1','None');
-
-INSERT INTO people_skill_year VALUES ('0','< 6 Months');
-INSERT INTO people_skill_year VALUES ('1','6 Mo - 2 yr');
-INSERT INTO people_skill_year VALUES ('2','2 yr - 5 yr');
-INSERT INTO people_skill_year VALUES ('3','5 yr - 10 yr');
-INSERT INTO people_skill_year VALUES ('4','> 10 years');
-
-INSERT INTO people_skill_level VALUES ('0','Want to Learn');
-INSERT INTO people_skill_level VALUES ('1','Competent');
-INSERT INTO people_skill_level VALUES ('2','Wizard');
-INSERT INTO people_skill_level VALUES ('3','Wrote The Book');
-INSERT INTO people_skill_level VALUES ('4','Wrote It');
-
-INSERT INTO people_job_category VALUES ('0','Developer');
-INSERT INTO people_job_category VALUES ('1','Project Manager');
-INSERT INTO people_job_category VALUES ('2','Unix Admin');
-INSERT INTO people_job_category VALUES ('3','Doc Writer');
-INSERT INTO people_job_category VALUES ('4','Tester');
-INSERT INTO people_job_category VALUES ('5','Support Manager');
-INSERT INTO people_job_category VALUES ('6','Graphic/Other Designer');
-
-INSERT INTO people_job_status VALUES ('1','Open');
-INSERT INTO people_job_status VALUES ('2','Filled');
-INSERT INTO people_job_status VALUES ('3','Deleted');
-
-INSERT INTO group_type VALUES ('1','Project');
-INSERT INTO group_type VALUES ('2','Foundry');
-
-INSERT INTO frs_filetype VALUES ('1000','.deb');
-INSERT INTO frs_filetype VALUES ('2000','.rpm');
-INSERT INTO frs_filetype VALUES ('3000','.zip');
-INSERT INTO frs_filetype VALUES ('4000','.bz2');
-INSERT INTO frs_filetype VALUES ('4500','.gz');
-INSERT INTO frs_filetype VALUES ('5000','Source .zip');
-INSERT INTO frs_filetype VALUES ('5010','Source .bz2');
-INSERT INTO frs_filetype VALUES ('5020','Source .gz');
-INSERT INTO frs_filetype VALUES ('5100','Source .rpm');
-INSERT INTO frs_filetype VALUES ('5900','Other Source File');
-INSERT INTO frs_filetype VALUES ('8000','.jpg');
-INSERT INTO frs_filetype VALUES ('9000','text');
-INSERT INTO frs_filetype VALUES ('9100','html');
-INSERT INTO frs_filetype VALUES ('9200','pdf');
-INSERT INTO frs_filetype VALUES ('9999','Other');
-
-INSERT INTO frs_status VALUES ('1','Active');
-INSERT INTO frs_status VALUES ('3','Hidden');
-
-INSERT INTO frs_processor VALUES ('1000','i386');
-INSERT INTO frs_processor VALUES ('6000','IA64');
-INSERT INTO frs_processor VALUES ('7000','Alpha');
-INSERT INTO frs_processor VALUES ('8000','Any');
-INSERT INTO frs_processor VALUES ('2000','PPC');
-INSERT INTO frs_processor VALUES ('3000','MIPS');
-INSERT INTO frs_processor VALUES ('4000','Sparc');
-INSERT INTO frs_processor VALUES ('5000','UltraSparc');
-INSERT INTO frs_processor VALUES ('9999','Other');
Added: trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/DefaultValues.sql
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/DefaultValues.sql (rev 0)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/DefaultValues.sql 2011-02-24 14:55:50 UTC (rev 8040)
@@ -0,0 +1,114 @@
+INSERT INTO groups (group_id) VALUES (1);
+
+INSERT INTO users (user_id, user_name, email, user_pw)
+VALUES (100,'None','noreply at sourceforge.net','*********');
+
+INSERT INTO bug_resolution (resolution_id, resolution_name) VALUES (1,'Fixed');
+INSERT INTO bug_resolution (resolution_id, resolution_name) VALUES (2,'Invalid');
+INSERT INTO bug_resolution (resolution_id, resolution_name) VALUES (3,'Wont Fix');
+INSERT INTO bug_resolution (resolution_id, resolution_name) VALUES (4,'Later');
+INSERT INTO bug_resolution (resolution_id, resolution_name) VALUES (5,'Remind');
+INSERT INTO bug_resolution (resolution_id, resolution_name) VALUES (6,'Works For Me');
+INSERT INTO bug_resolution (resolution_id, resolution_name) VALUES (100,'None');
+INSERT INTO bug_resolution (resolution_id, resolution_name) VALUES (101,'Duplicate');
+
+INSERT INTO bug_status (status_id, status_name) VALUES (1,'Open');
+INSERT INTO bug_status (status_id, status_name) VALUES (3,'Closed');
+INSERT INTO bug_status (status_id, status_name) VALUES (100,'None');
+
+INSERT INTO bug_category (bug_category_id, group_id, category_name) VALUES (100,1,'None');
+
+INSERT INTO bug_group (bug_group_id, group_id, group_name) VALUES (100,1,'None');
+
+INSERT INTO bug (bug_id,group_id,status_id,category_id,bug_group_id,submitted_by,assigned_to,resolution_id)
+ VALUES (100,1,100,100,100,100,100,100);
+
+INSERT INTO patch_category (patch_category_id, group_id, category_name) VALUES (100,1,'None');
+
+INSERT INTO patch_status (patch_status_id, status_name) VALUES (1,'Open');
+INSERT INTO patch_status (patch_status_id, status_name) VALUES (2,'Closed');
+INSERT INTO patch_status (patch_status_id, status_name) VALUES (3,'Deleted');
+INSERT INTO patch_status (patch_status_id, status_name) VALUES (4,'Postponed');
+INSERT INTO patch_status (patch_status_id, status_name) VALUES (100,'None');
+
+INSERT INTO patch (group_id,patch_status_id,patch_category_id,submitted_by,assigned_to)
+ VALUES (1,100,100,100,100);
+
+INSERT INTO project_status (status_id, status_name) VALUES (1,'Open');
+INSERT INTO project_status (status_id, status_name) VALUES (2,'Closed');
+INSERT INTO project_status (status_id, status_name) VALUES (100,'None');
+INSERT INTO project_status (status_id, status_name) VALUES (3,'Deleted');
+
+INSERT INTO project_group_list (group_project_id,group_id) VALUES (1,1);
+
+INSERT INTO project_task (group_project_id,created_by,status_id)
+ VALUES (1,100,100);
+
+INSERT INTO survey_question_types (id, type) VALUES (1,'Radio Buttons 1-5');
+INSERT INTO survey_question_types (id, type) VALUES (2,'Text Area');
+INSERT INTO survey_question_types (id, type) VALUES (3,'Radio Buttons Yes/No');
+INSERT INTO survey_question_types (id, type) VALUES (4,'Comment Only');
+INSERT INTO survey_question_types (id, type) VALUES (5,'Text Field');
+INSERT INTO survey_question_types (id, type) VALUES (100,'None');
+
+INSERT INTO support_status values('1','Open');
+INSERT INTO support_status values('2','Closed');
+INSERT INTO support_status values('3','Deleted');
+
+INSERT INTO support_category VALUES ('100','1','None');
+
+INSERT INTO people_skill_year VALUES ('0','< 6 Months');
+INSERT INTO people_skill_year VALUES ('1','6 Mo - 2 yr');
+INSERT INTO people_skill_year VALUES ('2','2 yr - 5 yr');
+INSERT INTO people_skill_year VALUES ('3','5 yr - 10 yr');
+INSERT INTO people_skill_year VALUES ('4','> 10 years');
+
+INSERT INTO people_skill_level VALUES ('0','Want to Learn');
+INSERT INTO people_skill_level VALUES ('1','Competent');
+INSERT INTO people_skill_level VALUES ('2','Wizard');
+INSERT INTO people_skill_level VALUES ('3','Wrote The Book');
+INSERT INTO people_skill_level VALUES ('4','Wrote It');
+
+INSERT INTO people_job_category VALUES ('0','Developer');
+INSERT INTO people_job_category VALUES ('1','Project Manager');
+INSERT INTO people_job_category VALUES ('2','Unix Admin');
+INSERT INTO people_job_category VALUES ('3','Doc Writer');
+INSERT INTO people_job_category VALUES ('4','Tester');
+INSERT INTO people_job_category VALUES ('5','Support Manager');
+INSERT INTO people_job_category VALUES ('6','Graphic/Other Designer');
+
+INSERT INTO people_job_status VALUES ('1','Open');
+INSERT INTO people_job_status VALUES ('2','Filled');
+INSERT INTO people_job_status VALUES ('3','Deleted');
+
+INSERT INTO group_type VALUES ('1','Project');
+INSERT INTO group_type VALUES ('2','Foundry');
+
+INSERT INTO frs_filetype VALUES ('1000','.deb');
+INSERT INTO frs_filetype VALUES ('2000','.rpm');
+INSERT INTO frs_filetype VALUES ('3000','.zip');
+INSERT INTO frs_filetype VALUES ('4000','.bz2');
+INSERT INTO frs_filetype VALUES ('4500','.gz');
+INSERT INTO frs_filetype VALUES ('5000','Source .zip');
+INSERT INTO frs_filetype VALUES ('5010','Source .bz2');
+INSERT INTO frs_filetype VALUES ('5020','Source .gz');
+INSERT INTO frs_filetype VALUES ('5100','Source .rpm');
+INSERT INTO frs_filetype VALUES ('5900','Other Source File');
+INSERT INTO frs_filetype VALUES ('8000','.jpg');
+INSERT INTO frs_filetype VALUES ('9000','text');
+INSERT INTO frs_filetype VALUES ('9100','html');
+INSERT INTO frs_filetype VALUES ('9200','pdf');
+INSERT INTO frs_filetype VALUES ('9999','Other');
+
+INSERT INTO frs_status VALUES ('1','Active');
+INSERT INTO frs_status VALUES ('3','Hidden');
+
+INSERT INTO frs_processor VALUES ('1000','i386');
+INSERT INTO frs_processor VALUES ('6000','IA64');
+INSERT INTO frs_processor VALUES ('7000','Alpha');
+INSERT INTO frs_processor VALUES ('8000','Any');
+INSERT INTO frs_processor VALUES ('2000','PPC');
+INSERT INTO frs_processor VALUES ('3000','MIPS');
+INSERT INTO frs_processor VALUES ('4000','Sparc');
+INSERT INTO frs_processor VALUES ('5000','UltraSparc');
+INSERT INTO frs_processor VALUES ('9999','Other');
Added: trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/SourceForge.sql
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/SourceForge.sql (rev 0)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/SourceForge.sql 2011-02-24 14:55:50 UTC (rev 8040)
@@ -0,0 +1,1372 @@
+CREATE SEQUENCE "bug_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "bug" (
+ "bug_id" integer DEFAULT nextval('bug_pk_seq'::text) NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "status_id" integer DEFAULT '0' NOT NULL,
+ "priority" integer DEFAULT '0' NOT NULL,
+ "category_id" integer DEFAULT '0' NOT NULL,
+ "submitted_by" integer DEFAULT '0' NOT NULL,
+ "assigned_to" integer DEFAULT '0' NOT NULL,
+ "date" integer DEFAULT '0' NOT NULL,
+ "summary" text,
+ "details" text,
+ "close_date" integer,
+ "bug_group_id" integer DEFAULT '0' NOT NULL,
+ "resolution_id" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("bug_id")
+);
+CREATE SEQUENCE "bug_bug_dependencies_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "bug_bug_dependencies" (
+ "bug_depend_id" integer DEFAULT nextval('bug_bug_dependencies_pk_seq'::text) NOT NULL,
+ "bug_id" integer DEFAULT '0' NOT NULL,
+ "is_dependent_on_bug_id" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("bug_depend_id")
+);
+CREATE SEQUENCE "bug_canned_responses_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "bug_canned_responses" (
+ "bug_canned_id" integer DEFAULT nextval('bug_canned_responses_pk_seq'::text) NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "title" text,
+ "body" text,
+ PRIMARY KEY ("bug_canned_id")
+);
+CREATE SEQUENCE "bug_category_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "bug_category" (
+ "bug_category_id" integer DEFAULT nextval('bug_category_pk_seq'::text) NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "category_name" text,
+ PRIMARY KEY ("bug_category_id")
+);
+CREATE SEQUENCE "bug_filter_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "bug_filter" (
+ "filter_id" integer DEFAULT nextval('bug_filter_pk_seq'::text) NOT NULL,
+ "user_id" integer DEFAULT '0' NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "sql_clause" text DEFAULT '' NOT NULL,
+ "is_active" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("filter_id")
+);
+CREATE SEQUENCE "bug_group_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "bug_group" (
+ "bug_group_id" integer DEFAULT nextval('bug_group_pk_seq'::text) NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "group_name" text DEFAULT '' NOT NULL,
+ PRIMARY KEY ("bug_group_id")
+);
+CREATE SEQUENCE "bug_history_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "bug_history" (
+ "bug_history_id" integer DEFAULT nextval('bug_history_pk_seq'::text) NOT NULL,
+ "bug_id" integer DEFAULT '0' NOT NULL,
+ "field_name" text DEFAULT '' NOT NULL,
+ "old_value" text DEFAULT '' NOT NULL,
+ "mod_by" integer DEFAULT '0' NOT NULL,
+ "date" integer,
+ PRIMARY KEY ("bug_history_id")
+);
+CREATE SEQUENCE "bug_resolution_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "bug_resolution" (
+ "resolution_id" integer DEFAULT nextval('bug_resolution_pk_seq'::text) NOT NULL,
+ "resolution_name" text DEFAULT '' NOT NULL,
+ PRIMARY KEY ("resolution_id")
+);
+CREATE SEQUENCE "bug_status_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "bug_status" (
+ "status_id" integer DEFAULT nextval('bug_status_pk_seq'::text) NOT NULL,
+ "status_name" text,
+ PRIMARY KEY ("status_id")
+);
+CREATE SEQUENCE "bug_task_dependencies_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "bug_task_dependencies" (
+ "bug_depend_id" integer DEFAULT nextval('bug_task_dependencies_pk_seq'::text) NOT NULL,
+ "bug_id" integer DEFAULT '0' NOT NULL,
+ "is_dependent_on_task_id" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("bug_depend_id")
+);
+CREATE SEQUENCE "canned_responses_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "canned_responses" (
+ "response_id" integer DEFAULT nextval('canned_responses_pk_seq'::text) NOT NULL,
+ "response_title" character varying(25),
+ "response_text" text,
+ PRIMARY KEY ("response_id")
+);
+CREATE SEQUENCE "db_images_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "db_images" (
+ "id" integer DEFAULT nextval('db_images_pk_seq'::text) NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "description" text DEFAULT '' NOT NULL,
+ "bin_data" text DEFAULT '' NOT NULL,
+ "filename" text DEFAULT '' NOT NULL,
+ "filesize" integer DEFAULT '0' NOT NULL,
+ "filetype" text DEFAULT '' NOT NULL,
+ "width" integer DEFAULT '0' NOT NULL,
+ "height" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("id")
+);
+CREATE SEQUENCE "doc_data_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "doc_data" (
+ "docid" integer DEFAULT nextval('doc_data_pk_seq'::text) NOT NULL,
+ "stateid" integer DEFAULT '0' NOT NULL,
+ "title" character varying(255) DEFAULT '' NOT NULL,
+ "data" text DEFAULT '' NOT NULL,
+ "updatedate" integer DEFAULT '0' NOT NULL,
+ "createdate" integer DEFAULT '0' NOT NULL,
+ "created_by" integer DEFAULT '0' NOT NULL,
+ "doc_group" integer DEFAULT '0' NOT NULL,
+ "description" text,
+ "language_id" integer DEFAULT '1' NOT NULL,
+ PRIMARY KEY ("docid")
+);
+CREATE SEQUENCE "doc_groups_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "doc_groups" (
+ "doc_group" integer DEFAULT nextval('doc_groups_pk_seq'::text) NOT NULL,
+ "groupname" character varying(255) DEFAULT '' NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("doc_group")
+);
+CREATE SEQUENCE "doc_states_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "doc_states" (
+ "stateid" integer DEFAULT nextval('doc_states_pk_seq'::text) NOT NULL,
+ "name" character varying(255) DEFAULT '' NOT NULL,
+ PRIMARY KEY ("stateid")
+);
+CREATE SEQUENCE "filemodule_monitor_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "filemodule_monitor" (
+ "id" integer DEFAULT nextval('filemodule_monitor_pk_seq'::text) NOT NULL,
+ "filemodule_id" integer DEFAULT '0' NOT NULL,
+ "user_id" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("id")
+);
+CREATE SEQUENCE "forum_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "forum" (
+ "msg_id" integer DEFAULT nextval('forum_pk_seq'::text) NOT NULL,
+ "group_forum_id" integer DEFAULT '0' NOT NULL,
+ "posted_by" integer DEFAULT '0' NOT NULL,
+ "subject" text DEFAULT '' NOT NULL,
+ "body" text DEFAULT '' NOT NULL,
+ "date" integer DEFAULT '0' NOT NULL,
+ "is_followup_to" integer DEFAULT '0' NOT NULL,
+ "thread_id" integer DEFAULT '0' NOT NULL,
+ "has_followups" integer DEFAULT '0',
+ "most_recent_date" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("msg_id")
+);
+CREATE TABLE "forum_agg_msg_count" (
+ "group_forum_id" integer DEFAULT '0' NOT NULL,
+ "count" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("group_forum_id")
+);
+CREATE SEQUENCE "forum_group_list_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "forum_group_list" (
+ "group_forum_id" integer DEFAULT nextval('forum_group_list_pk_seq'::text) NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "forum_name" text DEFAULT '' NOT NULL,
+ "is_public" integer DEFAULT '0' NOT NULL,
+ "description" text,
+ "allow_anonymous" integer DEFAULT '0' NOT NULL,
+ "send_all_posts_to" text,
+ PRIMARY KEY ("group_forum_id")
+);
+CREATE SEQUENCE "forum_monitored_forums_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "forum_monitored_forums" (
+ "monitor_id" integer DEFAULT nextval('forum_monitored_forums_pk_seq'::text) NOT NULL,
+ "forum_id" integer DEFAULT '0' NOT NULL,
+ "user_id" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("monitor_id")
+);
+CREATE SEQUENCE "forum_saved_place_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "forum_saved_place" (
+ "saved_place_id" integer DEFAULT nextval('forum_saved_place_pk_seq'::text) NOT NULL,
+ "user_id" integer DEFAULT '0' NOT NULL,
+ "forum_id" integer DEFAULT '0' NOT NULL,
+ "save_date" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("saved_place_id")
+);
+CREATE TABLE "foundry_data" (
+ "foundry_id" integer DEFAULT '0' NOT NULL,
+ "freeform1_html" text,
+ "freeform2_html" text,
+ "sponsor1_html" text,
+ "sponsor2_html" text,
+ "guide_image_id" integer DEFAULT '0' NOT NULL,
+ "logo_image_id" integer DEFAULT '0' NOT NULL,
+ "trove_categories" text,
+ PRIMARY KEY ("foundry_id")
+);
+CREATE SEQUENCE "foundry_news_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "foundry_news" (
+ "foundry_news_id" integer DEFAULT nextval('foundry_news_pk_seq'::text) NOT NULL,
+ "foundry_id" integer DEFAULT '0' NOT NULL,
+ "news_id" integer DEFAULT '0' NOT NULL,
+ "approve_date" integer DEFAULT '0' NOT NULL,
+ "is_approved" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("foundry_news_id")
+);
+CREATE SEQUENCE "foundry_preferred_projec_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "foundry_preferred_projects" (
+ "foundry_project_id" integer DEFAULT nextval('foundry_preferred_projec_pk_seq'::text) NOT NULL,
+ "foundry_id" integer DEFAULT '0' NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "rank" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("foundry_project_id")
+);
+CREATE SEQUENCE "foundry_projects_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "foundry_projects" (
+ "id" integer DEFAULT nextval('foundry_projects_pk_seq'::text) NOT NULL,
+ "foundry_id" integer DEFAULT '0' NOT NULL,
+ "project_id" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("id")
+);
+CREATE TABLE "frs_dlstats_agg" (
+ "file_id" integer DEFAULT '0' NOT NULL,
+ "day" integer DEFAULT '0' NOT NULL,
+ "downloads_http" integer DEFAULT '0' NOT NULL,
+ "downloads_ftp" integer DEFAULT '0' NOT NULL
+);
+CREATE TABLE "frs_dlstats_file_agg" (
+ "file_id" integer DEFAULT '0' NOT NULL,
+ "day" integer DEFAULT '0' NOT NULL,
+ "downloads" integer DEFAULT '0' NOT NULL
+);
+CREATE TABLE "frs_dlstats_filetotal_agg" (
+ "file_id" integer DEFAULT '0' NOT NULL,
+ "downloads" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("file_id")
+);
+CREATE TABLE "frs_dlstats_filetotal_agg_old" (
+ "file_id" integer DEFAULT '0' NOT NULL,
+ "downloads" integer DEFAULT '0' NOT NULL
+);
+CREATE TABLE "frs_dlstats_group_agg" (
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "day" integer DEFAULT '0' NOT NULL,
+ "downloads" integer DEFAULT '0' NOT NULL
+);
+CREATE TABLE "frs_dlstats_grouptotal_agg" (
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "downloads" integer DEFAULT '0' NOT NULL
+);
+CREATE SEQUENCE "frs_file_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "frs_file" (
+ "file_id" integer DEFAULT nextval('frs_file_pk_seq'::text) NOT NULL,
+ "filename" text,
+ "release_id" integer DEFAULT '0' NOT NULL,
+ "type_id" integer DEFAULT '0' NOT NULL,
+ "processor_id" integer DEFAULT '0' NOT NULL,
+ "release_time" integer DEFAULT '0' NOT NULL,
+ "file_size" integer DEFAULT '0' NOT NULL,
+ "post_date" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("file_id")
+);
+CREATE SEQUENCE "frs_filetype_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "frs_filetype" (
+ "type_id" integer DEFAULT nextval('frs_filetype_pk_seq'::text) NOT NULL,
+ "name" text,
+ PRIMARY KEY ("type_id")
+);
+CREATE SEQUENCE "frs_package_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "frs_package" (
+ "package_id" integer DEFAULT nextval('frs_package_pk_seq'::text) NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "name" text,
+ "status_id" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("package_id")
+);
+CREATE SEQUENCE "frs_processor_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "frs_processor" (
+ "processor_id" integer DEFAULT nextval('frs_processor_pk_seq'::text) NOT NULL,
+ "name" text,
+ PRIMARY KEY ("processor_id")
+);
+CREATE SEQUENCE "frs_release_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "frs_release" (
+ "release_id" integer DEFAULT nextval('frs_release_pk_seq'::text) NOT NULL,
+ "package_id" integer DEFAULT '0' NOT NULL,
+ "name" text,
+ "notes" text,
+ "changes" text,
+ "status_id" integer DEFAULT '0' NOT NULL,
+ "preformatted" integer DEFAULT '0' NOT NULL,
+ "release_date" integer DEFAULT '0' NOT NULL,
+ "released_by" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("release_id")
+);
+CREATE SEQUENCE "frs_status_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "frs_status" (
+ "status_id" integer DEFAULT nextval('frs_status_pk_seq'::text) NOT NULL,
+ "name" text,
+ PRIMARY KEY ("status_id")
+);
+CREATE SEQUENCE "group_cvs_history_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "group_cvs_history" (
+ "id" integer DEFAULT nextval('group_cvs_history_pk_seq'::text) NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "user_name" character varying(80) DEFAULT '' NOT NULL,
+ "cvs_commits" integer DEFAULT '0' NOT NULL,
+ "cvs_commits_wk" integer DEFAULT '0' NOT NULL,
+ "cvs_adds" integer DEFAULT '0' NOT NULL,
+ "cvs_adds_wk" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("id")
+);
+CREATE SEQUENCE "group_history_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "group_history" (
+ "group_history_id" integer DEFAULT nextval('group_history_pk_seq'::text) NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "field_name" text DEFAULT '' NOT NULL,
+ "old_value" text DEFAULT '' NOT NULL,
+ "mod_by" integer DEFAULT '0' NOT NULL,
+ "date" integer,
+ PRIMARY KEY ("group_history_id")
+);
+CREATE SEQUENCE "group_type_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "group_type" (
+ "type_id" integer DEFAULT nextval('group_type_pk_seq'::text) NOT NULL,
+ "name" text,
+ PRIMARY KEY ("type_id")
+);
+CREATE SEQUENCE "groups_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "groups" (
+ "group_id" integer DEFAULT nextval('groups_pk_seq'::text) NOT NULL,
+ "group_name" character varying(40),
+ "homepage" character varying(128),
+ "is_public" integer DEFAULT '0' NOT NULL,
+ "status" character(1) DEFAULT 'A' NOT NULL,
+ "unix_group_name" character varying(30) DEFAULT '' NOT NULL,
+ "unix_box" character varying(20) DEFAULT 'shell1' NOT NULL,
+ "http_domain" character varying(80),
+ "short_description" character varying(255),
+ "cvs_box" character varying(20) DEFAULT 'cvs1' NOT NULL,
+ "license" character varying(16),
+ "register_purpose" text,
+ "license_other" text,
+ "register_time" integer DEFAULT '0' NOT NULL,
+ "use_bugs" integer DEFAULT '1' NOT NULL,
+ "rand_hash" text,
+ "use_mail" integer DEFAULT '1' NOT NULL,
+ "use_survey" integer DEFAULT '1' NOT NULL,
+ "use_patch" integer DEFAULT '1' NOT NULL,
+ "use_forum" integer DEFAULT '1' NOT NULL,
+ "use_pm" integer DEFAULT '1' NOT NULL,
+ "use_cvs" integer DEFAULT '1' NOT NULL,
+ "use_news" integer DEFAULT '1' NOT NULL,
+ "use_support" integer DEFAULT '1' NOT NULL,
+ "new_bug_address" text DEFAULT '' NOT NULL,
+ "new_patch_address" text DEFAULT '' NOT NULL,
+ "new_support_address" text DEFAULT '' NOT NULL,
+ "type" integer DEFAULT '1' NOT NULL,
+ "use_docman" integer DEFAULT '1' NOT NULL,
+ "send_all_bugs" integer DEFAULT '0' NOT NULL,
+ "send_all_patches" integer DEFAULT '0' NOT NULL,
+ "send_all_support" integer DEFAULT '0' NOT NULL,
+ "new_task_address" text DEFAULT '' NOT NULL,
+ "send_all_tasks" integer DEFAULT '0' NOT NULL,
+ "use_bug_depend_box" integer DEFAULT '1' NOT NULL,
+ "use_pm_depend_box" integer DEFAULT '1' NOT NULL,
+ PRIMARY KEY ("group_id")
+);
+CREATE TABLE "intel_agreement" (
+ "user_id" integer DEFAULT '0' NOT NULL,
+ "message" text,
+ "is_approved" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("user_id")
+);
+CREATE SEQUENCE "mail_group_list_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "mail_group_list" (
+ "group_list_id" integer DEFAULT nextval('mail_group_list_pk_seq'::text) NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "list_name" text,
+ "is_public" integer DEFAULT '0' NOT NULL,
+ "password" character varying(16),
+ "list_admin" integer DEFAULT '0' NOT NULL,
+ "status" integer DEFAULT '0' NOT NULL,
+ "description" text,
+ PRIMARY KEY ("group_list_id")
+);
+CREATE SEQUENCE "news_bytes_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "news_bytes" (
+ "id" integer DEFAULT nextval('news_bytes_pk_seq'::text) NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "submitted_by" integer DEFAULT '0' NOT NULL,
+ "is_approved" integer DEFAULT '0' NOT NULL,
+ "date" integer DEFAULT '0' NOT NULL,
+ "forum_id" integer DEFAULT '0' NOT NULL,
+ "summary" text,
+ "details" text,
+ PRIMARY KEY ("id")
+);
+CREATE SEQUENCE "patch_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "patch" (
+ "patch_id" integer DEFAULT nextval('patch_pk_seq'::text) NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "patch_status_id" integer DEFAULT '0' NOT NULL,
+ "patch_category_id" integer DEFAULT '0' NOT NULL,
+ "submitted_by" integer DEFAULT '0' NOT NULL,
+ "assigned_to" integer DEFAULT '0' NOT NULL,
+ "open_date" integer DEFAULT '0' NOT NULL,
+ "summary" text,
+ "code" text,
+ "close_date" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("patch_id")
+);
+CREATE SEQUENCE "patch_category_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "patch_category" (
+ "patch_category_id" integer DEFAULT nextval('patch_category_pk_seq'::text) NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "category_name" text DEFAULT '' NOT NULL,
+ PRIMARY KEY ("patch_category_id")
+);
+CREATE SEQUENCE "patch_history_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "patch_history" (
+ "patch_history_id" integer DEFAULT nextval('patch_history_pk_seq'::text) NOT NULL,
+ "patch_id" integer DEFAULT '0' NOT NULL,
+ "field_name" text DEFAULT '' NOT NULL,
+ "old_value" text DEFAULT '' NOT NULL,
+ "mod_by" integer DEFAULT '0' NOT NULL,
+ "date" integer,
+ PRIMARY KEY ("patch_history_id")
+);
+CREATE SEQUENCE "patch_status_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "patch_status" (
+ "patch_status_id" integer DEFAULT nextval('patch_status_pk_seq'::text) NOT NULL,
+ "status_name" text,
+ PRIMARY KEY ("patch_status_id")
+);
+CREATE SEQUENCE "people_job_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "people_job" (
+ "job_id" integer DEFAULT nextval('people_job_pk_seq'::text) NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "created_by" integer DEFAULT '0' NOT NULL,
+ "title" text,
+ "description" text,
+ "date" integer DEFAULT '0' NOT NULL,
+ "status_id" integer DEFAULT '0' NOT NULL,
+ "category_id" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("job_id")
+);
+CREATE SEQUENCE "people_job_category_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "people_job_category" (
+ "category_id" integer DEFAULT nextval('people_job_category_pk_seq'::text) NOT NULL,
+ "name" text,
+ "private_flag" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("category_id")
+);
+CREATE SEQUENCE "people_job_inventory_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "people_job_inventory" (
+ "job_inventory_id" integer DEFAULT nextval('people_job_inventory_pk_seq'::text) NOT NULL,
+ "job_id" integer DEFAULT '0' NOT NULL,
+ "skill_id" integer DEFAULT '0' NOT NULL,
+ "skill_level_id" integer DEFAULT '0' NOT NULL,
+ "skill_year_id" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("job_inventory_id")
+);
+CREATE SEQUENCE "people_job_status_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "people_job_status" (
+ "status_id" integer DEFAULT nextval('people_job_status_pk_seq'::text) NOT NULL,
+ "name" text,
+ PRIMARY KEY ("status_id")
+);
+CREATE SEQUENCE "people_skill_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "people_skill" (
+ "skill_id" integer DEFAULT nextval('people_skill_pk_seq'::text) NOT NULL,
+ "name" text,
+ PRIMARY KEY ("skill_id")
+);
+CREATE SEQUENCE "people_skill_inventory_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "people_skill_inventory" (
+ "skill_inventory_id" integer DEFAULT nextval('people_skill_inventory_pk_seq'::text) NOT NULL,
+ "user_id" integer DEFAULT '0' NOT NULL,
+ "skill_id" integer DEFAULT '0' NOT NULL,
+ "skill_level_id" integer DEFAULT '0' NOT NULL,
+ "skill_year_id" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("skill_inventory_id")
+);
+CREATE SEQUENCE "people_skill_level_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "people_skill_level" (
+ "skill_level_id" integer DEFAULT nextval('people_skill_level_pk_seq'::text) NOT NULL,
+ "name" text,
+ PRIMARY KEY ("skill_level_id")
+);
+CREATE SEQUENCE "people_skill_year_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "people_skill_year" (
+ "skill_year_id" integer DEFAULT nextval('people_skill_year_pk_seq'::text) NOT NULL,
+ "name" text,
+ PRIMARY KEY ("skill_year_id")
+);
+CREATE SEQUENCE "project_assigned_to_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "project_assigned_to" (
+ "project_assigned_id" integer DEFAULT nextval('project_assigned_to_pk_seq'::text) NOT NULL,
+ "project_task_id" integer DEFAULT '0' NOT NULL,
+ "assigned_to_id" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("project_assigned_id")
+);
+CREATE TABLE "project_counts_tmp" (
+ "group_id" integer,
+ "type" text,
+ "count" double precision
+);
+CREATE TABLE "project_counts_weekly_tmp" (
+ "group_id" integer,
+ "type" text,
+ "count" double precision
+);
+CREATE SEQUENCE "project_dependencies_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "project_dependencies" (
+ "project_depend_id" integer DEFAULT nextval('project_dependencies_pk_seq'::text) NOT NULL,
+ "project_task_id" integer DEFAULT '0' NOT NULL,
+ "is_dependent_on_task_id" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("project_depend_id")
+);
+CREATE SEQUENCE "project_group_list_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "project_group_list" (
+ "group_project_id" integer DEFAULT nextval('project_group_list_pk_seq'::text) NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "project_name" text DEFAULT '' NOT NULL,
+ "is_public" integer DEFAULT '0' NOT NULL,
+ "description" text,
+ PRIMARY KEY ("group_project_id")
+);
+CREATE SEQUENCE "project_history_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "project_history" (
+ "project_history_id" integer DEFAULT nextval('project_history_pk_seq'::text) NOT NULL,
+ "project_task_id" integer DEFAULT '0' NOT NULL,
+ "field_name" text DEFAULT '' NOT NULL,
+ "old_value" text DEFAULT '' NOT NULL,
+ "mod_by" integer DEFAULT '0' NOT NULL,
+ "date" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("project_history_id")
+);
+CREATE SEQUENCE "project_metric_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "project_metric" (
+ "ranking" integer DEFAULT nextval('project_metric_pk_seq'::text) NOT NULL,
+ "percentile" double precision,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("ranking")
+);
+CREATE SEQUENCE "project_metric_tmp1_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "project_metric_tmp1" (
+ "ranking" integer DEFAULT nextval('project_metric_tmp1_pk_seq'::text) NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "value" double precision,
+ PRIMARY KEY ("ranking")
+);
+CREATE SEQUENCE "project_metric_weekly_tm_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "project_metric_weekly_tmp1" (
+ "ranking" integer DEFAULT nextval('project_metric_weekly_tm_pk_seq'::text) NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "value" double precision,
+ PRIMARY KEY ("ranking")
+);
+CREATE SEQUENCE "project_status_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "project_status" (
+ "status_id" integer DEFAULT nextval('project_status_pk_seq'::text) NOT NULL,
+ "status_name" text DEFAULT '' NOT NULL,
+ PRIMARY KEY ("status_id")
+);
+CREATE SEQUENCE "project_task_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "project_task" (
+ "project_task_id" integer DEFAULT nextval('project_task_pk_seq'::text) NOT NULL,
+ "group_project_id" integer DEFAULT '0' NOT NULL,
+ "summary" text DEFAULT '' NOT NULL,
+ "details" text DEFAULT '' NOT NULL,
+ "percent_complete" integer DEFAULT '0' NOT NULL,
+ "priority" integer DEFAULT '0' NOT NULL,
+ "hours" double precision DEFAULT '0.00' NOT NULL,
+ "start_date" integer DEFAULT '0' NOT NULL,
+ "end_date" integer DEFAULT '0' NOT NULL,
+ "created_by" integer DEFAULT '0' NOT NULL,
+ "status_id" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("project_task_id")
+);
+CREATE SEQUENCE "project_weekly_metric_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "project_weekly_metric" (
+ "ranking" integer DEFAULT nextval('project_weekly_metric_pk_seq'::text) NOT NULL,
+ "percentile" double precision,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("ranking")
+);
+CREATE TABLE "session" (
+ "user_id" integer DEFAULT '0' NOT NULL,
+ "session_hash" character(32) DEFAULT '' NOT NULL,
+ "ip_addr" character(15) DEFAULT '' NOT NULL,
+ "time" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("session_hash")
+);
+CREATE SEQUENCE "snippet_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "snippet" (
+ "snippet_id" integer DEFAULT nextval('snippet_pk_seq'::text) NOT NULL,
+ "created_by" integer DEFAULT '0' NOT NULL,
+ "name" text,
+ "description" text,
+ "type" integer DEFAULT '0' NOT NULL,
+ "language" integer DEFAULT '0' NOT NULL,
+ "license" text DEFAULT '' NOT NULL,
+ "category" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("snippet_id")
+);
+CREATE SEQUENCE "snippet_package_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "snippet_package" (
+ "snippet_package_id" integer DEFAULT nextval('snippet_package_pk_seq'::text) NOT NULL,
+ "created_by" integer DEFAULT '0' NOT NULL,
+ "name" text,
+ "description" text,
+ "category" integer DEFAULT '0' NOT NULL,
+ "language" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("snippet_package_id")
+);
+CREATE SEQUENCE "snippet_package_item_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "snippet_package_item" (
+ "snippet_package_item_id" integer DEFAULT nextval('snippet_package_item_pk_seq'::text) NOT NULL,
+ "snippet_package_version_id" integer DEFAULT '0' NOT NULL,
+ "snippet_version_id" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("snippet_package_item_id")
+);
+CREATE SEQUENCE "snippet_package_version_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "snippet_package_version" (
+ "snippet_package_version_id" integer DEFAULT nextval('snippet_package_version_pk_seq'::text) NOT NULL,
+ "snippet_package_id" integer DEFAULT '0' NOT NULL,
+ "changes" text,
+ "version" text,
+ "submitted_by" integer DEFAULT '0' NOT NULL,
+ "date" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("snippet_package_version_id")
+);
+CREATE SEQUENCE "snippet_version_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "snippet_version" (
+ "snippet_version_id" integer DEFAULT nextval('snippet_version_pk_seq'::text) NOT NULL,
+ "snippet_id" integer DEFAULT '0' NOT NULL,
+ "changes" text,
+ "version" text,
+ "submitted_by" integer DEFAULT '0' NOT NULL,
+ "date" integer DEFAULT '0' NOT NULL,
+ "code" text,
+ PRIMARY KEY ("snippet_version_id")
+);
+CREATE TABLE "stats_agg_logo_by_day" (
+ "day" integer,
+ "count" integer
+);
+CREATE TABLE "stats_agg_logo_by_group" (
+ "day" integer,
+ "group_id" integer,
+ "count" integer
+);
+CREATE TABLE "stats_agg_pages_by_browser" (
+ "browser" character varying(8),
+ "count" integer
+);
+CREATE TABLE "stats_agg_pages_by_day" (
+ "day" integer DEFAULT '0' NOT NULL,
+ "count" integer DEFAULT '0' NOT NULL
+);
+CREATE TABLE "stats_agg_pages_by_day_old" (
+ "day" integer,
+ "count" integer
+);
+CREATE TABLE "stats_agg_site_by_day" (
+ "day" integer DEFAULT '0' NOT NULL,
+ "count" integer DEFAULT '0' NOT NULL
+);
+CREATE TABLE "stats_agg_site_by_group" (
+ "day" integer DEFAULT '0' NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "count" integer DEFAULT '0' NOT NULL
+);
+CREATE TABLE "stats_agr_filerelease" (
+ "filerelease_id" integer DEFAULT '0' NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "downloads" integer DEFAULT '0' NOT NULL
+);
+CREATE TABLE "stats_agr_project" (
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "group_ranking" integer DEFAULT '0' NOT NULL,
+ "group_metric" double precision DEFAULT '0.00000' NOT NULL,
+ "developers" integer DEFAULT '0' NOT NULL,
+ "file_releases" integer DEFAULT '0' NOT NULL,
+ "downloads" integer DEFAULT '0' NOT NULL,
+ "site_views" integer DEFAULT '0' NOT NULL,
+ "logo_views" integer DEFAULT '0' NOT NULL,
+ "msg_posted" integer DEFAULT '0' NOT NULL,
+ "msg_uniq_auth" integer DEFAULT '0' NOT NULL,
+ "bugs_opened" integer DEFAULT '0' NOT NULL,
+ "bugs_closed" integer DEFAULT '0' NOT NULL,
+ "support_opened" integer DEFAULT '0' NOT NULL,
+ "support_closed" integer DEFAULT '0' NOT NULL,
+ "patches_opened" integer DEFAULT '0' NOT NULL,
+ "patches_closed" integer DEFAULT '0' NOT NULL,
+ "tasks_opened" integer DEFAULT '0' NOT NULL,
+ "tasks_closed" integer DEFAULT '0' NOT NULL,
+ "help_requests" integer DEFAULT '0' NOT NULL,
+ "cvs_checkouts" integer DEFAULT '0' NOT NULL,
+ "cvs_commits" integer DEFAULT '0' NOT NULL,
+ "cvs_adds" integer DEFAULT '0' NOT NULL
+);
+CREATE TABLE "stats_ftp_downloads" (
+ "day" integer DEFAULT '0' NOT NULL,
+ "filerelease_id" integer DEFAULT '0' NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "downloads" integer DEFAULT '0' NOT NULL
+);
+CREATE TABLE "stats_http_downloads" (
+ "day" integer DEFAULT '0' NOT NULL,
+ "filerelease_id" integer DEFAULT '0' NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "downloads" integer DEFAULT '0' NOT NULL
+);
+CREATE TABLE "stats_project" (
+ "month" integer DEFAULT '0' NOT NULL,
+ "week" integer DEFAULT '0' NOT NULL,
+ "day" integer DEFAULT '0' NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "group_ranking" integer DEFAULT '0' NOT NULL,
+ "group_metric" double precision DEFAULT '0.00000' NOT NULL,
+ "developers" integer DEFAULT '0' NOT NULL,
+ "file_releases" integer DEFAULT '0' NOT NULL,
+ "downloads" integer DEFAULT '0' NOT NULL,
+ "site_views" integer DEFAULT '0' NOT NULL,
+ "subdomain_views" integer DEFAULT '0' NOT NULL,
+ "msg_posted" integer DEFAULT '0' NOT NULL,
+ "msg_uniq_auth" integer DEFAULT '0' NOT NULL,
+ "bugs_opened" integer DEFAULT '0' NOT NULL,
+ "bugs_closed" integer DEFAULT '0' NOT NULL,
+ "support_opened" integer DEFAULT '0' NOT NULL,
+ "support_closed" integer DEFAULT '0' NOT NULL,
+ "patches_opened" integer DEFAULT '0' NOT NULL,
+ "patches_closed" integer DEFAULT '0' NOT NULL,
+ "tasks_opened" integer DEFAULT '0' NOT NULL,
+ "tasks_closed" integer DEFAULT '0' NOT NULL,
+ "help_requests" integer DEFAULT '0' NOT NULL,
+ "cvs_checkouts" integer DEFAULT '0' NOT NULL,
+ "cvs_commits" integer DEFAULT '0' NOT NULL,
+ "cvs_adds" integer DEFAULT '0' NOT NULL
+);
+CREATE TABLE "stats_project_tmp" (
+ "month" integer DEFAULT '0' NOT NULL,
+ "week" integer DEFAULT '0' NOT NULL,
+ "day" integer DEFAULT '0' NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "group_ranking" integer DEFAULT '0' NOT NULL,
+ "group_metric" double precision DEFAULT '0.00000' NOT NULL,
+ "developers" integer DEFAULT '0' NOT NULL,
+ "file_releases" integer DEFAULT '0' NOT NULL,
+ "downloads" integer DEFAULT '0' NOT NULL,
+ "site_views" integer DEFAULT '0' NOT NULL,
+ "subdomain_views" integer DEFAULT '0' NOT NULL,
+ "msg_posted" integer DEFAULT '0' NOT NULL,
+ "msg_uniq_auth" integer DEFAULT '0' NOT NULL,
+ "bugs_opened" integer DEFAULT '0' NOT NULL,
+ "bugs_closed" integer DEFAULT '0' NOT NULL,
+ "support_opened" integer DEFAULT '0' NOT NULL,
+ "support_closed" integer DEFAULT '0' NOT NULL,
+ "patches_opened" integer DEFAULT '0' NOT NULL,
+ "patches_closed" integer DEFAULT '0' NOT NULL,
+ "tasks_opened" integer DEFAULT '0' NOT NULL,
+ "tasks_closed" integer DEFAULT '0' NOT NULL,
+ "help_requests" integer DEFAULT '0' NOT NULL,
+ "cvs_checkouts" integer DEFAULT '0' NOT NULL,
+ "cvs_commits" integer DEFAULT '0' NOT NULL,
+ "cvs_adds" integer DEFAULT '0' NOT NULL
+);
+CREATE TABLE "stats_site" (
+ "month" integer DEFAULT '0' NOT NULL,
+ "week" integer DEFAULT '0' NOT NULL,
+ "day" integer DEFAULT '0' NOT NULL,
+ "site_views" integer DEFAULT '0' NOT NULL,
+ "subdomain_views" integer DEFAULT '0' NOT NULL,
+ "downloads" integer DEFAULT '0' NOT NULL,
+ "uniq_users" integer DEFAULT '0' NOT NULL,
+ "sessions" integer DEFAULT '0' NOT NULL,
+ "total_users" integer DEFAULT '0' NOT NULL,
+ "new_users" integer DEFAULT '0' NOT NULL,
+ "new_projects" integer DEFAULT '0' NOT NULL
+);
+CREATE SEQUENCE "support_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "support" (
+ "support_id" integer DEFAULT nextval('support_pk_seq'::text) NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "support_status_id" integer DEFAULT '0' NOT NULL,
+ "support_category_id" integer DEFAULT '0' NOT NULL,
+ "priority" integer DEFAULT '0' NOT NULL,
+ "submitted_by" integer DEFAULT '0' NOT NULL,
+ "assigned_to" integer DEFAULT '0' NOT NULL,
+ "open_date" integer DEFAULT '0' NOT NULL,
+ "summary" text,
+ "close_date" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("support_id")
+);
+CREATE SEQUENCE "support_canned_responses_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "support_canned_responses" (
+ "support_canned_id" integer DEFAULT nextval('support_canned_responses_pk_seq'::text) NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "title" text,
+ "body" text,
+ PRIMARY KEY ("support_canned_id")
+);
+CREATE SEQUENCE "support_category_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "support_category" (
+ "support_category_id" integer DEFAULT nextval('support_category_pk_seq'::text) NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "category_name" text DEFAULT '' NOT NULL,
+ PRIMARY KEY ("support_category_id")
+);
+CREATE SEQUENCE "support_history_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "support_history" (
+ "support_history_id" integer DEFAULT nextval('support_history_pk_seq'::text) NOT NULL,
+ "support_id" integer DEFAULT '0' NOT NULL,
+ "field_name" text DEFAULT '' NOT NULL,
+ "old_value" text DEFAULT '' NOT NULL,
+ "mod_by" integer DEFAULT '0' NOT NULL,
+ "date" integer,
+ PRIMARY KEY ("support_history_id")
+);
+CREATE SEQUENCE "support_messages_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "support_messages" (
+ "support_message_id" integer DEFAULT nextval('support_messages_pk_seq'::text) NOT NULL,
+ "support_id" integer DEFAULT '0' NOT NULL,
+ "from_email" text,
+ "date" integer DEFAULT '0' NOT NULL,
+ "body" text,
+ PRIMARY KEY ("support_message_id")
+);
+CREATE SEQUENCE "support_status_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "support_status" (
+ "support_status_id" integer DEFAULT nextval('support_status_pk_seq'::text) NOT NULL,
+ "status_name" text,
+ PRIMARY KEY ("support_status_id")
+);
+CREATE SEQUENCE "supported_languages_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "supported_languages" (
+ "language_id" integer DEFAULT nextval('supported_languages_pk_seq'::text) NOT NULL,
+ "name" text,
+ "filename" text,
+ "classname" text,
+ "language_code" character(2),
+ PRIMARY KEY ("language_id")
+);
+CREATE SEQUENCE "survey_question_types_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "survey_question_types" (
+ "id" integer DEFAULT nextval('survey_question_types_pk_seq'::text) NOT NULL,
+ "type" text DEFAULT '' NOT NULL,
+ PRIMARY KEY ("id")
+);
+CREATE SEQUENCE "survey_questions_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "survey_questions" (
+ "question_id" integer DEFAULT nextval('survey_questions_pk_seq'::text) NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "question" text DEFAULT '' NOT NULL,
+ "question_type" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("question_id")
+);
+CREATE TABLE "survey_rating_aggregate" (
+ "type" integer DEFAULT '0' NOT NULL,
+ "id" integer DEFAULT '0' NOT NULL,
+ "response" double precision DEFAULT '0' NOT NULL,
+ "count" integer DEFAULT '0' NOT NULL
+);
+CREATE TABLE "survey_rating_response" (
+ "user_id" integer DEFAULT '0' NOT NULL,
+ "type" integer DEFAULT '0' NOT NULL,
+ "id" integer DEFAULT '0' NOT NULL,
+ "response" integer DEFAULT '0' NOT NULL,
+ "date" integer DEFAULT '0' NOT NULL
+);
+CREATE TABLE "survey_responses" (
+ "user_id" integer DEFAULT '0' NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "survey_id" integer DEFAULT '0' NOT NULL,
+ "question_id" integer DEFAULT '0' NOT NULL,
+ "response" text DEFAULT '' NOT NULL,
+ "date" integer DEFAULT '0' NOT NULL
+);
+CREATE SEQUENCE "surveys_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "surveys" (
+ "survey_id" integer DEFAULT nextval('surveys_pk_seq'::text) NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "survey_title" text DEFAULT '' NOT NULL,
+ "survey_questions" text DEFAULT '' NOT NULL,
+ "is_active" integer DEFAULT '1' NOT NULL,
+ PRIMARY KEY ("survey_id")
+);
+CREATE SEQUENCE "system_history_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE SEQUENCE "system_machines_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE SEQUENCE "system_news_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE SEQUENCE "system_services_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE SEQUENCE "system_status_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "theme_prefs" (
+ "user_id" integer DEFAULT '0' NOT NULL,
+ "user_theme" integer DEFAULT '0' NOT NULL,
+ "body_font" character(80) DEFAULT '',
+ "body_size" character(5) DEFAULT '',
+ "titlebar_font" character(80) DEFAULT '',
+ "titlebar_size" character(5) DEFAULT '',
+ "color_titlebar_back" character(7) DEFAULT '',
+ "color_ltback1" character(7) DEFAULT '',
+ PRIMARY KEY ("user_id")
+);
+CREATE SEQUENCE "themes_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "themes" (
+ "theme_id" integer DEFAULT nextval('themes_pk_seq'::text) NOT NULL,
+ "dirname" character varying(80),
+ "fullname" character varying(80),
+ PRIMARY KEY ("theme_id")
+);
+CREATE TABLE "tmp_projs_releases_tmp" (
+ "year" integer DEFAULT '0' NOT NULL,
+ "month" integer DEFAULT '0' NOT NULL,
+ "total_proj" integer DEFAULT '0' NOT NULL,
+ "total_releases" integer DEFAULT '0' NOT NULL
+);
+CREATE TABLE "top_group" (
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "group_name" character varying(40),
+ "downloads_all" integer DEFAULT '0' NOT NULL,
+ "rank_downloads_all" integer DEFAULT '0' NOT NULL,
+ "rank_downloads_all_old" integer DEFAULT '0' NOT NULL,
+ "downloads_week" integer DEFAULT '0' NOT NULL,
+ "rank_downloads_week" integer DEFAULT '0' NOT NULL,
+ "rank_downloads_week_old" integer DEFAULT '0' NOT NULL,
+ "userrank" integer DEFAULT '0' NOT NULL,
+ "rank_userrank" integer DEFAULT '0' NOT NULL,
+ "rank_userrank_old" integer DEFAULT '0' NOT NULL,
+ "forumposts_week" integer DEFAULT '0' NOT NULL,
+ "rank_forumposts_week" integer DEFAULT '0' NOT NULL,
+ "rank_forumposts_week_old" integer DEFAULT '0' NOT NULL,
+ "pageviews_proj" integer DEFAULT '0' NOT NULL,
+ "rank_pageviews_proj" integer DEFAULT '0' NOT NULL,
+ "rank_pageviews_proj_old" integer DEFAULT '0' NOT NULL
+);
+CREATE SEQUENCE "trove_cat_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "trove_cat" (
+ "trove_cat_id" integer DEFAULT nextval('trove_cat_pk_seq'::text) NOT NULL,
+ "version" integer DEFAULT '0' NOT NULL,
+ "parent" integer DEFAULT '0' NOT NULL,
+ "root_parent" integer DEFAULT '0' NOT NULL,
+ "shortname" character varying(80),
+ "fullname" character varying(80),
+ "description" character varying(255),
+ "count_subcat" integer DEFAULT '0' NOT NULL,
+ "count_subproj" integer DEFAULT '0' NOT NULL,
+ "fullpath" text DEFAULT '' NOT NULL,
+ "fullpath_ids" text,
+ PRIMARY KEY ("trove_cat_id")
+);
+CREATE SEQUENCE "trove_group_link_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "trove_group_link" (
+ "trove_group_id" integer DEFAULT nextval('trove_group_link_pk_seq'::text) NOT NULL,
+ "trove_cat_id" integer DEFAULT '0' NOT NULL,
+ "trove_cat_version" integer DEFAULT '0' NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "trove_cat_root" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("trove_group_id")
+);
+CREATE SEQUENCE "trove_treesums_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "trove_treesums" (
+ "trove_treesums_id" integer DEFAULT nextval('trove_treesums_pk_seq'::text) NOT NULL,
+ "trove_cat_id" integer DEFAULT '0' NOT NULL,
+ "limit_1" integer DEFAULT '0' NOT NULL,
+ "subprojects" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("trove_treesums_id")
+);
+CREATE SEQUENCE "user_bookmarks_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "user_bookmarks" (
+ "bookmark_id" integer DEFAULT nextval('user_bookmarks_pk_seq'::text) NOT NULL,
+ "user_id" integer DEFAULT '0' NOT NULL,
+ "bookmark_url" text,
+ "bookmark_title" text,
+ PRIMARY KEY ("bookmark_id")
+);
+CREATE SEQUENCE "user_diary_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "user_diary" (
+ "id" integer DEFAULT nextval('user_diary_pk_seq'::text) NOT NULL,
+ "user_id" integer DEFAULT '0' NOT NULL,
+ "date_posted" integer DEFAULT '0' NOT NULL,
+ "summary" text,
+ "details" text,
+ "is_public" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("id")
+);
+CREATE SEQUENCE "user_diary_monitor_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "user_diary_monitor" (
+ "monitor_id" integer DEFAULT nextval('user_diary_monitor_pk_seq'::text) NOT NULL,
+ "monitored_user" integer DEFAULT '0' NOT NULL,
+ "user_id" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("monitor_id")
+);
+CREATE SEQUENCE "user_group_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "user_group" (
+ "user_group_id" integer DEFAULT nextval('user_group_pk_seq'::text) NOT NULL,
+ "user_id" integer DEFAULT '0' NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "admin_flags" character(16) DEFAULT '' NOT NULL,
+ "bug_flags" integer DEFAULT '0' NOT NULL,
+ "forum_flags" integer DEFAULT '0' NOT NULL,
+ "project_flags" integer DEFAULT '2' NOT NULL,
+ "patch_flags" integer DEFAULT '1' NOT NULL,
+ "support_flags" integer DEFAULT '1' NOT NULL,
+ "doc_flags" integer DEFAULT '0' NOT NULL,
+ "cvs_flags" integer DEFAULT '1' NOT NULL,
+ "member_role" integer DEFAULT '100' NOT NULL,
+ "release_flags" integer DEFAULT '0' NOT NULL,
+ PRIMARY KEY ("user_group_id")
+);
+CREATE SEQUENCE "user_metric_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "user_metric" (
+ "ranking" integer DEFAULT nextval('user_metric_pk_seq'::text) NOT NULL,
+ "user_id" integer DEFAULT '0' NOT NULL,
+ "times_ranked" integer DEFAULT '0' NOT NULL,
+ "avg_raters_importance" double precision DEFAULT '0.00000000' NOT NULL,
+ "avg_rating" double precision DEFAULT '0.00000000' NOT NULL,
+ "metric" double precision DEFAULT '0.00000000' NOT NULL,
+ "percentile" double precision DEFAULT '0.00000000' NOT NULL,
+ "importance_factor" double precision DEFAULT '0.00000000' NOT NULL,
+ PRIMARY KEY ("ranking")
+);
+CREATE SEQUENCE "user_metric0_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "user_metric0" (
+ "ranking" integer DEFAULT nextval('user_metric0_pk_seq'::text) NOT NULL,
+ "user_id" integer DEFAULT '0' NOT NULL,
+ "times_ranked" integer DEFAULT '0' NOT NULL,
+ "avg_raters_importance" double precision DEFAULT '0.00000000' NOT NULL,
+ "avg_rating" double precision DEFAULT '0.00000000' NOT NULL,
+ "metric" double precision DEFAULT '0.00000000' NOT NULL,
+ "percentile" double precision DEFAULT '0.00000000' NOT NULL,
+ "importance_factor" double precision DEFAULT '0.00000000' NOT NULL,
+ PRIMARY KEY ("ranking")
+);
+CREATE TABLE "user_preferences" (
+ "user_id" integer DEFAULT '0' NOT NULL,
+ "preference_name" character varying(20),
+ "preference_value" character varying(20),
+ "set_date" integer DEFAULT '0' NOT NULL
+);
+CREATE TABLE "user_ratings" (
+ "rated_by" integer DEFAULT '0' NOT NULL,
+ "user_id" integer DEFAULT '0' NOT NULL,
+ "rate_field" integer DEFAULT '0' NOT NULL,
+ "rating" integer DEFAULT '0' NOT NULL
+);
+CREATE SEQUENCE "users_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "users" (
+ "user_id" integer DEFAULT nextval('users_pk_seq'::text) NOT NULL,
+ "user_name" text DEFAULT '' NOT NULL,
+ "email" text DEFAULT '' NOT NULL,
+ "user_pw" character varying(32) DEFAULT '' NOT NULL,
+ "realname" character varying(32) DEFAULT '' NOT NULL,
+ "status" character(1) DEFAULT 'A' NOT NULL,
+ "shell" character varying(20) DEFAULT '/bin/bash' NOT NULL,
+ "unix_pw" character varying(40) DEFAULT '' NOT NULL,
+ "unix_status" character(1) DEFAULT 'N' NOT NULL,
+ "unix_uid" integer DEFAULT '0' NOT NULL,
+ "unix_box" character varying(10) DEFAULT 'shell1' NOT NULL,
+ "add_date" integer DEFAULT '0' NOT NULL,
+ "confirm_hash" character varying(32),
+ "mail_siteupdates" integer DEFAULT '0' NOT NULL,
+ "mail_va" integer DEFAULT '0' NOT NULL,
+ "authorized_keys" text,
+ "email_new" text,
+ "people_view_skills" integer DEFAULT '0' NOT NULL,
+ "people_resume" text DEFAULT '' NOT NULL,
+ "timezone" character varying(64) DEFAULT 'GMT',
+ "language" integer DEFAULT '1' NOT NULL,
+ PRIMARY KEY ("user_id")
+);
+CREATE SEQUENCE "unix_uid_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE SEQUENCE "forum_thread_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "trove_agg" (
+ "trove_cat_id" integer,
+ "group_id" integer,
+ "group_name" character varying(40),
+ "unix_group_name" character varying(30),
+ "status" character(1),
+ "register_time" integer,
+ "short_description" character varying(255),
+ "percentile" double precision,
+ "ranking" integer
+);
+CREATE TABLE "activity_log" (
+ "day" integer DEFAULT '0' NOT NULL,
+ "hour" integer DEFAULT '0' NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "browser" character varying(8) DEFAULT 'OTHER' NOT NULL,
+ "ver" double precision DEFAULT '0.00' NOT NULL,
+ "platform" character varying(8) DEFAULT 'OTHER' NOT NULL,
+ "time" integer DEFAULT '0' NOT NULL,
+ "page" text,
+ "type" integer DEFAULT '0' NOT NULL
+);
+CREATE TABLE "activity_log_old" (
+ "day" integer DEFAULT '0' NOT NULL,
+ "hour" integer DEFAULT '0' NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "browser" character varying(8) DEFAULT 'OTHER' NOT NULL,
+ "ver" double precision DEFAULT '0.00' NOT NULL,
+ "platform" character varying(8) DEFAULT 'OTHER' NOT NULL,
+ "time" integer DEFAULT '0' NOT NULL,
+ "page" text,
+ "type" integer DEFAULT '0' NOT NULL
+);
+CREATE TABLE "activity_log_old_old" (
+ "day" integer DEFAULT '0' NOT NULL,
+ "hour" integer DEFAULT '0' NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "browser" character varying(8) DEFAULT 'OTHER' NOT NULL,
+ "ver" double precision DEFAULT '0.00' NOT NULL,
+ "platform" character varying(8) DEFAULT 'OTHER' NOT NULL,
+ "time" integer DEFAULT '0' NOT NULL,
+ "page" text,
+ "type" integer DEFAULT '0' NOT NULL
+);
+CREATE INDEX "bug_group_id" on "bug" using btree ( "group_id" "int4_ops" );
+CREATE INDEX "bug_groupid_statusid" on "bug" using btree ( "group_id" "int4_ops", "status_id" "int4_ops" );
+CREATE INDEX "bug_groupid_assignedto_statusid" on "bug" using btree ( "group_id" "int4_ops", "assigned_to" "int4_ops", "status_id" "int4_ops" );
+CREATE INDEX "bug_bug_dependencies_bug_id" on "bug_bug_dependencies" using btree ( "bug_id" "int4_ops" );
+CREATE INDEX "bug_bug_is_dependent_on_task_id" on "bug_bug_dependencies" using btree ( "is_dependent_on_bug_id" "int4_ops" );
+CREATE INDEX "bug_canned_response_group_id" on "bug_canned_responses" using btree ( "group_id" "int4_ops" );
+CREATE INDEX "bug_category_group_id" on "bug_category" using btree ( "group_id" "int4_ops" );
+CREATE INDEX "bug_group_group_id" on "bug_group" using btree ( "group_id" "int4_ops" );
+CREATE INDEX "bug_history_bug_id" on "bug_history" using btree ( "bug_id" "int4_ops" );
+CREATE INDEX "bug_task_dependencies_bug_id" on "bug_task_dependencies" using btree ( "bug_id" "int4_ops" );
+CREATE INDEX "bug_task_is_dependent_on_task_i" on "bug_task_dependencies" using btree ( "is_dependent_on_task_id" "int4_ops" );
+CREATE INDEX "db_images_group" on "db_images" using btree ( "group_id" "int4_ops" );
+CREATE INDEX "doc_group_doc_group" on "doc_data" using btree ( "doc_group" "int4_ops" );
+CREATE INDEX "doc_groups_group" on "doc_groups" using btree ( "group_id" "int4_ops" );
+CREATE INDEX "filemodule_monitor_id" on "filemodule_monitor" using btree ( "filemodule_id" "int4_ops" );
+CREATE INDEX "forum_forumid_msgid" on "forum" using btree ( "group_forum_id" "int4_ops", "msg_id" "int4_ops" );
+CREATE INDEX "forum_group_forum_id" on "forum" using btree ( "group_forum_id" "int4_ops" );
+CREATE INDEX "forum_forumid_isfollowupto" on "forum" using btree ( "group_forum_id" "int4_ops", "is_followup_to" "int4_ops" );
+CREATE INDEX "forum_forumid_threadid_mostrece" on "forum" using btree ( "group_forum_id" "int4_ops", "thread_id" "int4_ops", "most_recent_date" "int4_ops" );
+CREATE INDEX "forum_threadid_isfollowupto" on "forum" using btree ( "thread_id" "int4_ops", "is_followup_to" "int4_ops" );
+CREATE INDEX "forum_forumid_isfollto_mostrece" on "forum" using btree ( "group_forum_id" "int4_ops", "is_followup_to" "int4_ops", "most_recent_date" "int4_ops" );
+CREATE INDEX "forum_group_list_group_id" on "forum_group_list" using btree ( "group_id" "int4_ops" );
+CREATE INDEX "forum_monitor_combo_id" on "forum_monitored_forums" using btree ( "forum_id" "int4_ops", "user_id" "int4_ops" );
+CREATE INDEX "forum_monitor_thread_id" on "forum_monitored_forums" using btree ( "forum_id" "int4_ops" );
+CREATE INDEX "foundry_news_foundry_approved_d" on "foundry_news" using btree ( "foundry_id" "int4_ops", "is_approved" "int4_ops", "approve_date" "int4_ops" );
+CREATE INDEX "foundry_news_foundry_approved" on "foundry_news" using btree ( "foundry_id" "int4_ops", "is_approved" "int4_ops" );
+CREATE INDEX "foundry_news_foundry" on "foundry_news" using btree ( "foundry_id" "int4_ops" );
+CREATE INDEX "foundrynews_foundry_date_approv" on "foundry_news" using btree ( "foundry_id" "int4_ops", "approve_date" "int4_ops", "is_approved" "int4_ops" );
+CREATE INDEX "foundry_project_group_rank" on "foundry_preferred_projects" using btree ( "group_id" "int4_ops", "rank" "int4_ops" );
+CREATE INDEX "foundry_project_group" on "foundry_preferred_projects" using btree ( "group_id" "int4_ops" );
+CREATE INDEX "foundry_projects_foundry" on "foundry_projects" using btree ( "foundry_id" "int4_ops" );
+CREATE INDEX "downloads_http_idx" on "frs_dlstats_agg" using btree ( "downloads_http" "int4_ops" );
+CREATE INDEX "downloads_ftp_idx" on "frs_dlstats_agg" using btree ( "downloads_ftp" "int4_ops" );
+CREATE INDEX "file_id_idx" on "frs_dlstats_agg" using btree ( "file_id" "int4_ops" );
+CREATE INDEX "day_idx" on "frs_dlstats_agg" using btree ( "day" "int4_ops" );
+CREATE INDEX "dlstats_file_down" on "frs_dlstats_file_agg" using btree ( "downloads" "int4_ops" );
+CREATE INDEX "dlstats_file_file_id" on "frs_dlstats_file_agg" using btree ( "file_id" "int4_ops" );
+CREATE INDEX "dlstats_file_day" on "frs_dlstats_file_agg" using btree ( "day" "int4_ops" );
+CREATE INDEX "stats_agr_tmp_fid" on "frs_dlstats_filetotal_agg" using btree ( "file_id" "int4_ops" );
+CREATE INDEX "frs_dlstats_filetotal_agg_old_f" on "frs_dlstats_filetotal_agg_old" using btree ( "file_id" "int4_ops" );
+CREATE INDEX "frsdlstatsgroupagg_day_dls" on "frs_dlstats_group_agg" using btree ( "day" "int4_ops", "downloads" "int4_ops" );
+CREATE INDEX "group_id_idx" on "frs_dlstats_group_agg" using btree ( "group_id" "int4_ops" );
+CREATE INDEX "frs_dlstats_group_agg_day" on "frs_dlstats_group_agg" using btree ( "day" "int4_ops" );
+CREATE INDEX "stats_agr_tmp_gid" on "frs_dlstats_grouptotal_agg" using btree ( "group_id" "int4_ops" );
+CREATE INDEX "frs_file_name" on "frs_file" using btree ( "filename" "text_ops" );
+CREATE INDEX "frs_file_date" on "frs_file" using btree ( "post_date" "int4_ops" );
+CREATE INDEX "frs_file_processor" on "frs_file" using btree ( "processor_id" "int4_ops" );
+CREATE INDEX "frs_file_release_id" on "frs_file" using btree ( "release_id" "int4_ops" );
+CREATE INDEX "frs_file_type" on "frs_file" using btree ( "type_id" "int4_ops" );
+CREATE INDEX "package_group_id" on "frs_package" using btree ( "group_id" "int4_ops" );
+CREATE INDEX "frs_release_package" on "frs_release" using btree ( "package_id" "int4_ops" );
+CREATE INDEX "frs_release_date" on "frs_release" using btree ( "release_date" "int4_ops" );
+CREATE INDEX "frs_release_by" on "frs_release" using btree ( "released_by" "int4_ops" );
+CREATE INDEX "group_cvs_history_group_id" on "group_cvs_history" using btree ( "group_id" "int4_ops" );
+CREATE INDEX "user_name_idx" on "group_cvs_history" using btree ( "user_name" "varchar_ops" );
+CREATE INDEX "group_history_group_id" on "group_history" using btree ( "group_id" "int4_ops" );
+CREATE INDEX "groups_unix" on "groups" using btree ( "unix_group_name" "varchar_ops" );
+CREATE INDEX "groups_type" on "groups" using btree ( "type" "int4_ops" );
+CREATE INDEX "groups_public" on "groups" using btree ( "is_public" "int4_ops" );
+CREATE INDEX "groups_status" on "groups" using btree ( "status" "bpchar_ops" );
+CREATE INDEX "mail_group_list_group" on "mail_group_list" using btree ( "group_id" "int4_ops" );
+CREATE INDEX "news_bytes_group" on "news_bytes" using btree ( "group_id" "int4_ops" );
+CREATE INDEX "news_bytes_approved" on "news_bytes" using btree ( "is_approved" "int4_ops" );
+CREATE INDEX "news_bytes_forum" on "news_bytes" using btree ( "forum_id" "int4_ops" );
+CREATE INDEX "news_group_date" on "news_bytes" using btree ( "group_id" "int4_ops", "date" "int4_ops" );
+CREATE INDEX "news_approved_date" on "news_bytes" using btree ( "is_approved" "int4_ops", "date" "int4_ops" );
+CREATE INDEX "patch_group_id" on "patch" using btree ( "group_id" "int4_ops" );
+CREATE INDEX "patch_groupid_assignedto_status" on "patch" using btree ( "group_id" "int4_ops", "assigned_to" "int4_ops", "patch_status_id" "int4_ops" );
+CREATE INDEX "patch_groupid_assignedto" on "patch" using btree ( "group_id" "int4_ops", "assigned_to" "int4_ops" );
+CREATE INDEX "patch_groupid_status" on "patch" using btree ( "group_id" "int4_ops", "patch_status_id" "int4_ops" );
+CREATE INDEX "patch_group_group_id" on "patch_category" using btree ( "group_id" "int4_ops" );
+CREATE INDEX "patch_history_patch_id" on "patch_history" using btree ( "patch_id" "int4_ops" );
+CREATE INDEX "people_job_group_id" on "people_job" using btree ( "group_id" "int4_ops" );
+CREATE INDEX "project_assigned_to_assigned_to" on "project_assigned_to" using btree ( "assigned_to_id" "int4_ops" );
+CREATE INDEX "project_assigned_to_task_id" on "project_assigned_to" using btree ( "project_task_id" "int4_ops" );
+CREATE INDEX "project_is_dependent_on_task_id" on "project_dependencies" using btree ( "is_dependent_on_task_id" "int4_ops" );
+CREATE INDEX "project_dependencies_task_id" on "project_dependencies" using btree ( "project_task_id" "int4_ops" );
+CREATE INDEX "project_group_list_group_id" on "project_group_list" using btree ( "group_id" "int4_ops" );
+CREATE INDEX "project_history_task_id" on "project_history" using btree ( "project_task_id" "int4_ops" );
+CREATE INDEX "project_metric_group" on "project_metric" using btree ( "group_id" "int4_ops" );
+CREATE INDEX "project_task_group_project_id" on "project_task" using btree ( "group_project_id" "int4_ops" );
+CREATE INDEX "projecttask_projid_status" on "project_task" using btree ( "group_project_id" "int4_ops", "status_id" "int4_ops" );
+CREATE INDEX "projectweeklymetric_ranking" on "project_weekly_metric" using btree ( "ranking" "int4_ops" );
+CREATE INDEX "project_metric_weekly_group" on "project_weekly_metric" using btree ( "group_id" "int4_ops" );
+CREATE INDEX "session_user_id" on "session" using btree ( "user_id" "int4_ops" );
+CREATE INDEX "session_time" on "session" using btree ( "time" "int4_ops" );
+CREATE INDEX "snippet_language" on "snippet" using btree ( "language" "int4_ops" );
+CREATE INDEX "snippet_category" on "snippet" using btree ( "category" "int4_ops" );
+CREATE INDEX "snippet_package_language" on "snippet_package" using btree ( "language" "int4_ops" );
+CREATE INDEX "snippet_package_category" on "snippet_package" using btree ( "category" "int4_ops" );
+CREATE INDEX "snippet_package_item_pkg_ver" on "snippet_package_item" using btree ( "snippet_package_version_id" "int4_ops" );
+CREATE INDEX "snippet_package_version_pkg_id" on "snippet_package_version" using btree ( "snippet_package_id" "int4_ops" );
+CREATE INDEX "snippet_version_snippet_id" on "snippet_version" using btree ( "snippet_id" "int4_ops" );
+CREATE INDEX "pages_by_day_day" on "stats_agg_pages_by_day" using btree ( "day" "int4_ops" );
+CREATE INDEX "stats_agr_filerelease_group_id" on "stats_agr_filerelease" using btree ( "group_id" "int4_ops" );
+CREATE INDEX "stats_agr_filerelease_filerelea" on "stats_agr_filerelease" using btree ( "filerelease_id" "int4_ops" );
+CREATE INDEX "project_agr_log_group" on "stats_agr_project" using btree ( "group_id" "int4_ops" );
+CREATE INDEX "ftpdl_group_id" on "stats_ftp_downloads" using btree ( "group_id" "int4_ops" );
+CREATE INDEX "ftpdl_fid" on "stats_ftp_downloads" using btree ( "filerelease_id" "int4_ops" );
+CREATE INDEX "ftpdl_day" on "stats_ftp_downloads" using btree ( "day" "int4_ops" );
+CREATE INDEX "httpdl_group_id" on "stats_http_downloads" using btree ( "group_id" "int4_ops" );
+CREATE INDEX "httpdl_fid" on "stats_http_downloads" using btree ( "filerelease_id" "int4_ops" );
+CREATE INDEX "httpdl_day" on "stats_http_downloads" using btree ( "day" "int4_ops" );
+CREATE INDEX "archive_project_monthday" on "stats_project" using btree ( "month" "int4_ops", "day" "int4_ops" );
+CREATE INDEX "project_log_group" on "stats_project" using btree ( "group_id" "int4_ops" );
+CREATE INDEX "archive_project_week" on "stats_project" using btree ( "week" "int4_ops" );
+CREATE INDEX "archive_project_day" on "stats_project" using btree ( "day" "int4_ops" );
+CREATE INDEX "archive_project_month" on "stats_project" using btree ( "month" "int4_ops" );
+CREATE INDEX "stats_project_tmp_group_id" on "stats_project_tmp" using btree ( "group_id" "int4_ops" );
+CREATE INDEX "project_stats_week" on "stats_project_tmp" using btree ( "week" "int4_ops" );
+CREATE INDEX "project_stats_month" on "stats_project_tmp" using btree ( "month" "int4_ops" );
+CREATE INDEX "project_stats_day" on "stats_project_tmp" using btree ( "day" "int4_ops" );
+CREATE INDEX "stats_site_monthday" on "stats_site" using btree ( "month" "int4_ops", "day" "int4_ops" );
+CREATE INDEX "stats_site_week" on "stats_site" using btree ( "week" "int4_ops" );
+CREATE INDEX "stats_site_day" on "stats_site" using btree ( "day" "int4_ops" );
+CREATE INDEX "stats_site_month" on "stats_site" using btree ( "month" "int4_ops" );
+CREATE INDEX "support_group_id" on "support" using btree ( "group_id" "int4_ops" );
+CREATE INDEX "support_groupid_assignedto" on "support" using btree ( "group_id" "int4_ops", "assigned_to" "int4_ops" );
+CREATE INDEX "support_groupid_assignedto_stat" on "support" using btree ( "group_id" "int4_ops", "assigned_to" "int4_ops", "support_status_id" "int4_ops" );
+CREATE INDEX "support_groupid_status" on "support" using btree ( "group_id" "int4_ops", "support_status_id" "int4_ops" );
+CREATE INDEX "support_canned_response_group_i" on "support_canned_responses" using btree ( "group_id" "int4_ops" );
+CREATE INDEX "support_group_group_id" on "support_category" using btree ( "group_id" "int4_ops" );
+CREATE INDEX "support_history_support_id" on "support_history" using btree ( "support_id" "int4_ops" );
+CREATE INDEX "support_messages_support_id" on "support_messages" using btree ( "support_id" "int4_ops" );
+CREATE INDEX "supported_languages_code" on "supported_languages" using btree ( "language_code" "bpchar_ops" );
+CREATE INDEX "survey_questions_group" on "survey_questions" using btree ( "group_id" "int4_ops" );
+CREATE INDEX "survey_rating_aggregate_type_id" on "survey_rating_aggregate" using btree ( "type" "int4_ops", "id" "int4_ops" );
+CREATE INDEX "survey_rating_responses_user_ty" on "survey_rating_response" using btree ( "user_id" "int4_ops", "type" "int4_ops", "id" "int4_ops" );
+CREATE INDEX "survey_rating_responses_type_id" on "survey_rating_response" using btree ( "type" "int4_ops", "id" "int4_ops" );
+CREATE INDEX "survey_responses_group_id" on "survey_responses" using btree ( "group_id" "int4_ops" );
+CREATE INDEX "survey_responses_user_survey_qu" on "survey_responses" using btree ( "user_id" "int4_ops", "survey_id" "int4_ops", "question_id" "int4_ops" );
+CREATE INDEX "survey_responses_user_survey" on "survey_responses" using btree ( "user_id" "int4_ops", "survey_id" "int4_ops" );
+CREATE INDEX "survey_responses_survey_questio" on "survey_responses" using btree ( "survey_id" "int4_ops", "question_id" "int4_ops" );
+CREATE INDEX "surveys_group" on "surveys" using btree ( "group_id" "int4_ops" );
+CREATE INDEX "rank_forumposts_week_idx" on "top_group" using btree ( "rank_forumposts_week" "int4_ops" );
+CREATE INDEX "rank_downloads_week_idx" on "top_group" using btree ( "rank_downloads_week" "int4_ops" );
+CREATE INDEX "pageviews_proj_idx" on "top_group" using btree ( "pageviews_proj" "int4_ops" );
+CREATE INDEX "rank_userrank_idx" on "top_group" using btree ( "rank_userrank" "int4_ops" );
+CREATE INDEX "rank_downloads_all_idx" on "top_group" using btree ( "rank_downloads_all" "int4_ops" );
+CREATE INDEX "parent_idx" on "trove_cat" using btree ( "parent" "int4_ops" );
+CREATE INDEX "root_parent_idx" on "trove_cat" using btree ( "root_parent" "int4_ops" );
+CREATE INDEX "version_idx" on "trove_cat" using btree ( "version" "int4_ops" );
+CREATE INDEX "trove_group_link_group_id" on "trove_group_link" using btree ( "group_id" "int4_ops" );
+CREATE INDEX "trove_group_link_cat_id" on "trove_group_link" using btree ( "trove_cat_id" "int4_ops" );
+CREATE INDEX "user_bookmark_user_id" on "user_bookmarks" using btree ( "user_id" "int4_ops" );
+CREATE INDEX "user_diary_user" on "user_diary" using btree ( "user_id" "int4_ops" );
+CREATE INDEX "user_diary_user_date" on "user_diary" using btree ( "user_id" "int4_ops", "date_posted" "int4_ops" );
+CREATE INDEX "user_diary_date" on "user_diary" using btree ( "date_posted" "int4_ops" );
+CREATE INDEX "user_diary_monitor_user" on "user_diary_monitor" using btree ( "user_id" "int4_ops" );
+CREATE INDEX "user_diary_monitor_monitored_us" on "user_diary_monitor" using btree ( "monitored_user" "int4_ops" );
+CREATE INDEX "user_group_group_id" on "user_group" using btree ( "group_id" "int4_ops" );
+CREATE INDEX "bug_flags_idx" on "user_group" using btree ( "bug_flags" "int4_ops" );
+CREATE INDEX "project_flags_idx" on "user_group" using btree ( "project_flags" "int4_ops" );
+CREATE INDEX "user_group_user_id" on "user_group" using btree ( "user_id" "int4_ops" );
+CREATE INDEX "admin_flags_idx" on "user_group" using btree ( "admin_flags" "bpchar_ops" );
+CREATE INDEX "forum_flags_idx" on "user_group" using btree ( "forum_flags" "int4_ops" );
+CREATE INDEX "user_metric0_user_id" on "user_metric0" using btree ( "user_id" "int4_ops" );
+CREATE INDEX "user_pref_user_id" on "user_preferences" using btree ( "user_id" "int4_ops" );
+CREATE INDEX "user_ratings_rated_by" on "user_ratings" using btree ( "rated_by" "int4_ops" );
+CREATE INDEX "user_ratings_user_id" on "user_ratings" using btree ( "user_id" "int4_ops" );
+CREATE INDEX "users_status" on "users" using btree ( "status" "bpchar_ops" );
+CREATE INDEX "user_user" on "users" using btree ( "status" "bpchar_ops" );
+CREATE INDEX "idx_users_username" on "users" using btree ( "user_name" "text_ops" );
+CREATE INDEX "users_user_pw" on "users" using btree ( "user_pw" "varchar_ops" );
+CREATE INDEX "troveagg_trovecatid" on "trove_agg" using btree ( "trove_cat_id" "int4_ops" );
+CREATE CONSTRAINT TRIGGER "user_group_user_id_fk" AFTER INSERT OR UPDATE ON "user_group" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('user_group_user_id_fk', 'user_group', 'users', 'FULL', 'user_id', 'user_id');
+CREATE CONSTRAINT TRIGGER "user_group_user_id_fk" AFTER DELETE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('user_group_user_id_fk', 'user_group', 'users', 'FULL', 'user_id', 'user_id');
+CREATE CONSTRAINT TRIGGER "user_group_user_id_fk" AFTER UPDATE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('user_group_user_id_fk', 'user_group', 'users', 'FULL', 'user_id', 'user_id');
+CREATE CONSTRAINT TRIGGER "user_group_group_id_fk" AFTER INSERT OR UPDATE ON "user_group" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('user_group_group_id_fk', 'user_group', 'groups', 'FULL', 'group_id', 'group_id');
+CREATE CONSTRAINT TRIGGER "user_group_group_id_fk" AFTER DELETE ON "groups" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('user_group_group_id_fk', 'user_group', 'groups', 'FULL', 'group_id', 'group_id');
+CREATE CONSTRAINT TRIGGER "user_group_group_id_fk" AFTER UPDATE ON "groups" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('user_group_group_id_fk', 'user_group', 'groups', 'FULL', 'group_id', 'group_id');
+CREATE CONSTRAINT TRIGGER "forum_posted_by_fk" AFTER INSERT OR UPDATE ON "forum" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('forum_posted_by_fk', 'forum', 'users', 'FULL', 'posted_by', 'user_id');
+CREATE CONSTRAINT TRIGGER "forum_posted_by_fk" AFTER DELETE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('forum_posted_by_fk', 'forum', 'users', 'FULL', 'posted_by', 'user_id');
+CREATE CONSTRAINT TRIGGER "forum_posted_by_fk" AFTER UPDATE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('forum_posted_by_fk', 'forum', 'users', 'FULL', 'posted_by', 'user_id');
+CREATE CONSTRAINT TRIGGER "forum_group_forum_id_fk" AFTER INSERT OR UPDATE ON "forum" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('forum_group_forum_id_fk', 'forum', 'forum_group_list', 'FULL', 'group_forum_id', 'group_forum_id');
+CREATE CONSTRAINT TRIGGER "forum_group_forum_id_fk" AFTER DELETE ON "forum_group_list" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('forum_group_forum_id_fk', 'forum', 'forum_group_list', 'FULL', 'group_forum_id', 'group_forum_id');
+CREATE CONSTRAINT TRIGGER "forum_group_forum_id_fk" AFTER UPDATE ON "forum_group_list" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('forum_group_forum_id_fk', 'forum', 'forum_group_list', 'FULL', 'group_forum_id', 'group_forum_id');
+CREATE CONSTRAINT TRIGGER "forum_group_list_group_id_fk" AFTER INSERT OR UPDATE ON "forum_group_list" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('forum_group_list_group_id_fk', 'forum_group_list', 'groups', 'FULL', 'group_id', 'group_id');
+CREATE CONSTRAINT TRIGGER "forum_group_list_group_id_fk" AFTER DELETE ON "groups" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('forum_group_list_group_id_fk', 'forum_group_list', 'groups', 'FULL', 'group_id', 'group_id');
+CREATE CONSTRAINT TRIGGER "forum_group_list_group_id_fk" AFTER UPDATE ON "groups" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('forum_group_list_group_id_fk', 'forum_group_list', 'groups', 'FULL', 'group_id', 'group_id');
+CREATE CONSTRAINT TRIGGER "bug_group_group_fk" AFTER INSERT OR UPDATE ON "bug_group" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('bug_group_group_fk', 'bug_group', 'groups', 'FULL', 'group_id', 'group_id');
+CREATE CONSTRAINT TRIGGER "bug_group_group_fk" AFTER DELETE ON "groups" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('bug_group_group_fk', 'bug_group', 'groups', 'FULL', 'group_id', 'group_id');
+CREATE CONSTRAINT TRIGGER "bug_group_group_fk" AFTER UPDATE ON "groups" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('bug_group_group_fk', 'bug_group', 'groups', 'FULL', 'group_id', 'group_id');
+CREATE CONSTRAINT TRIGGER "bug_category_group_fk" AFTER INSERT OR UPDATE ON "bug_category" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('bug_category_group_fk', 'bug_category', 'groups', 'FULL', 'group_id', 'group_id');
+CREATE CONSTRAINT TRIGGER "bug_category_group_fk" AFTER DELETE ON "groups" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('bug_category_group_fk', 'bug_category', 'groups', 'FULL', 'group_id', 'group_id');
+CREATE CONSTRAINT TRIGGER "bug_category_group_fk" AFTER UPDATE ON "groups" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('bug_category_group_fk', 'bug_category', 'groups', 'FULL', 'group_id', 'group_id');
+CREATE CONSTRAINT TRIGGER "bug_submitted_by_fk" AFTER INSERT OR UPDATE ON "bug" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('bug_submitted_by_fk', 'bug', 'users', 'FULL', 'submitted_by', 'user_id');
+CREATE CONSTRAINT TRIGGER "bug_submitted_by_fk" AFTER DELETE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('bug_submitted_by_fk', 'bug', 'users', 'FULL', 'submitted_by', 'user_id');
+CREATE CONSTRAINT TRIGGER "bug_submitted_by_fk" AFTER UPDATE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('bug_submitted_by_fk', 'bug', 'users', 'FULL', 'submitted_by', 'user_id');
+CREATE CONSTRAINT TRIGGER "bug_assigned_to_fk" AFTER INSERT OR UPDATE ON "bug" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('bug_assigned_to_fk', 'bug', 'users', 'FULL', 'assigned_to', 'user_id');
+CREATE CONSTRAINT TRIGGER "bug_assigned_to_fk" AFTER DELETE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('bug_assigned_to_fk', 'bug', 'users', 'FULL', 'assigned_to', 'user_id');
+CREATE CONSTRAINT TRIGGER "bug_assigned_to_fk" AFTER UPDATE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('bug_assigned_to_fk', 'bug', 'users', 'FULL', 'assigned_to', 'user_id');
+CREATE CONSTRAINT TRIGGER "bug_status_fk" AFTER INSERT OR UPDATE ON "bug" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('bug_status_fk', 'bug', 'bug_status', 'FULL', 'status_id', 'status_id');
+CREATE CONSTRAINT TRIGGER "bug_status_fk" AFTER DELETE ON "bug_status" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('bug_status_fk', 'bug', 'bug_status', 'FULL', 'status_id', 'status_id');
+CREATE CONSTRAINT TRIGGER "bug_status_fk" AFTER UPDATE ON "bug_status" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('bug_status_fk', 'bug', 'bug_status', 'FULL', 'status_id', 'status_id');
+CREATE CONSTRAINT TRIGGER "bug_category_fk" AFTER INSERT OR UPDATE ON "bug" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('bug_category_fk', 'bug', 'bug_category', 'FULL', 'category_id', 'bug_category_id');
+CREATE CONSTRAINT TRIGGER "bug_category_fk" AFTER DELETE ON "bug_category" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('bug_category_fk', 'bug', 'bug_category', 'FULL', 'category_id', 'bug_category_id');
+CREATE CONSTRAINT TRIGGER "bug_category_fk" AFTER UPDATE ON "bug_category" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('bug_category_fk', 'bug', 'bug_category', 'FULL', 'category_id', 'bug_category_id');
+CREATE CONSTRAINT TRIGGER "bug_resolution_fk" AFTER INSERT OR UPDATE ON "bug" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('bug_resolution_fk', 'bug', 'bug_resolution', 'FULL', 'resolution_id', 'resolution_id');
+CREATE CONSTRAINT TRIGGER "bug_resolution_fk" AFTER DELETE ON "bug_resolution" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('bug_resolution_fk', 'bug', 'bug_resolution', 'FULL', 'resolution_id', 'resolution_id');
+CREATE CONSTRAINT TRIGGER "bug_resolution_fk" AFTER UPDATE ON "bug_resolution" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('bug_resolution_fk', 'bug', 'bug_resolution', 'FULL', 'resolution_id', 'resolution_id');
+CREATE CONSTRAINT TRIGGER "bug_group_fk" AFTER INSERT OR UPDATE ON "bug" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('bug_group_fk', 'bug', 'bug_group', 'FULL', 'bug_group_id', 'bug_group_id');
+CREATE CONSTRAINT TRIGGER "bug_group_fk" AFTER DELETE ON "bug_group" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('bug_group_fk', 'bug', 'bug_group', 'FULL', 'bug_group_id', 'bug_group_id');
+CREATE CONSTRAINT TRIGGER "bug_group_fk" AFTER UPDATE ON "bug_group" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('bug_group_fk', 'bug', 'bug_group', 'FULL', 'bug_group_id', 'bug_group_id');
+CREATE CONSTRAINT TRIGGER "forum_posted_by_fk" AFTER INSERT OR UPDATE ON "forum" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('forum_posted_by_fk', 'forum', 'users', 'FULL', 'posted_by', 'user_id');
+CREATE CONSTRAINT TRIGGER "forum_posted_by_fk" AFTER DELETE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('forum_posted_by_fk', 'forum', 'users', 'FULL', 'posted_by', 'user_id');
+CREATE CONSTRAINT TRIGGER "forum_posted_by_fk" AFTER UPDATE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('forum_posted_by_fk', 'forum', 'users', 'FULL', 'posted_by', 'user_id');
+CREATE CONSTRAINT TRIGGER "forum_group_forum_id_fk" AFTER INSERT OR UPDATE ON "forum" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('forum_group_forum_id_fk', 'forum', 'forum_group_list', 'FULL', 'group_forum_id', 'group_forum_id');
+CREATE CONSTRAINT TRIGGER "forum_group_forum_id_fk" AFTER DELETE ON "forum_group_list" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('forum_group_forum_id_fk', 'forum', 'forum_group_list', 'FULL', 'group_forum_id', 'group_forum_id');
+CREATE CONSTRAINT TRIGGER "forum_group_forum_id_fk" AFTER UPDATE ON "forum_group_list" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('forum_group_forum_id_fk', 'forum', 'forum_group_list', 'FULL', 'group_forum_id', 'group_forum_id');
+CREATE CONSTRAINT TRIGGER "project_group_list_group_id_fk" AFTER INSERT OR UPDATE ON "project_group_list" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('project_group_list_group_id_fk', 'project_group_list', 'groups', 'FULL', 'group_id', 'group_id');
+CREATE CONSTRAINT TRIGGER "project_group_list_group_id_fk" AFTER DELETE ON "groups" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('project_group_list_group_id_fk', 'project_group_list', 'groups', 'FULL', 'group_id', 'group_id');
+CREATE CONSTRAINT TRIGGER "project_group_list_group_id_fk" AFTER UPDATE ON "groups" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('project_group_list_group_id_fk', 'project_group_list', 'groups', 'FULL', 'group_id', 'group_id');
+CREATE CONSTRAINT TRIGGER "project_task_group_project_id_f" AFTER INSERT OR UPDATE ON "project_task" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('project_task_group_project_id_f', 'project_task', 'project_group_list', 'FULL', 'group_project_id', 'group_project_id');
+CREATE CONSTRAINT TRIGGER "project_task_group_project_id_f" AFTER DELETE ON "project_group_list" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('project_task_group_project_id_f', 'project_task', 'project_group_list', 'FULL', 'group_project_id', 'group_project_id');
+CREATE CONSTRAINT TRIGGER "project_task_group_project_id_f" AFTER UPDATE ON "project_group_list" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('project_task_group_project_id_f', 'project_task', 'project_group_list', 'FULL', 'group_project_id', 'group_project_id');
+CREATE CONSTRAINT TRIGGER "project_task_created_by_fk" AFTER INSERT OR UPDATE ON "project_task" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('project_task_created_by_fk', 'project_task', 'users', 'FULL', 'created_by', 'user_id');
+CREATE CONSTRAINT TRIGGER "project_task_created_by_fk" AFTER DELETE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('project_task_created_by_fk', 'project_task', 'users', 'FULL', 'created_by', 'user_id');
+CREATE CONSTRAINT TRIGGER "project_task_created_by_fk" AFTER UPDATE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('project_task_created_by_fk', 'project_task', 'users', 'FULL', 'created_by', 'user_id');
+CREATE CONSTRAINT TRIGGER "project_task_status_id_fk" AFTER INSERT OR UPDATE ON "project_task" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('project_task_status_id_fk', 'project_task', 'project_status', 'FULL', 'status_id', 'status_id');
+CREATE CONSTRAINT TRIGGER "project_task_status_id_fk" AFTER DELETE ON "project_status" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('project_task_status_id_fk', 'project_task', 'project_status', 'FULL', 'status_id', 'status_id');
+CREATE CONSTRAINT TRIGGER "project_task_status_id_fk" AFTER UPDATE ON "project_status" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('project_task_status_id_fk', 'project_task', 'project_status', 'FULL', 'status_id', 'status_id');
+CREATE CONSTRAINT TRIGGER "patch_status_id_fk" AFTER INSERT OR UPDATE ON "patch" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('patch_status_id_fk', 'patch', 'patch_status', 'FULL', 'patch_status_id', 'patch_status_id');
+CREATE CONSTRAINT TRIGGER "patch_status_id_fk" AFTER DELETE ON "patch_status" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('patch_status_id_fk', 'patch', 'patch_status', 'FULL', 'patch_status_id', 'patch_status_id');
+CREATE CONSTRAINT TRIGGER "patch_status_id_fk" AFTER UPDATE ON "patch_status" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('patch_status_id_fk', 'patch', 'patch_status', 'FULL', 'patch_status_id', 'patch_status_id');
+CREATE CONSTRAINT TRIGGER "patch_category_id_fk" AFTER INSERT OR UPDATE ON "patch" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('patch_category_id_fk', 'patch', 'patch_category', 'FULL', 'patch_category_id', 'patch_category_id');
+CREATE CONSTRAINT TRIGGER "patch_category_id_fk" AFTER DELETE ON "patch_category" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('patch_category_id_fk', 'patch', 'patch_category', 'FULL', 'patch_category_id', 'patch_category_id');
+CREATE CONSTRAINT TRIGGER "patch_category_id_fk" AFTER UPDATE ON "patch_category" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('patch_category_id_fk', 'patch', 'patch_category', 'FULL', 'patch_category_id', 'patch_category_id');
+CREATE CONSTRAINT TRIGGER "patch_submitted_by_fk" AFTER INSERT OR UPDATE ON "patch" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('patch_submitted_by_fk', 'patch', 'users', 'FULL', 'submitted_by', 'user_id');
+CREATE CONSTRAINT TRIGGER "patch_submitted_by_fk" AFTER DELETE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('patch_submitted_by_fk', 'patch', 'users', 'FULL', 'submitted_by', 'user_id');
+CREATE CONSTRAINT TRIGGER "patch_submitted_by_fk" AFTER UPDATE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('patch_submitted_by_fk', 'patch', 'users', 'FULL', 'submitted_by', 'user_id');
+CREATE CONSTRAINT TRIGGER "patch_assigned_to_fk" AFTER INSERT OR UPDATE ON "patch" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('patch_assigned_to_fk', 'patch', 'users', 'FULL', 'assigned_to', 'user_id');
+CREATE CONSTRAINT TRIGGER "patch_assigned_to_fk" AFTER DELETE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('patch_assigned_to_fk', 'patch', 'users', 'FULL', 'assigned_to', 'user_id');
+CREATE CONSTRAINT TRIGGER "patch_assigned_to_fk" AFTER UPDATE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('patch_assigned_to_fk', 'patch', 'users', 'FULL', 'assigned_to', 'user_id');
+CREATE CONSTRAINT TRIGGER "patch_category_group_id_fk" AFTER INSERT OR UPDATE ON "patch_category" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('patch_category_group_id_fk', 'patch_category', 'groups', 'FULL', 'group_id', 'group_id');
+CREATE CONSTRAINT TRIGGER "patch_category_group_id_fk" AFTER DELETE ON "groups" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('patch_category_group_id_fk', 'patch_category', 'groups', 'FULL', 'group_id', 'group_id');
+CREATE CONSTRAINT TRIGGER "patch_category_group_id_fk" AFTER UPDATE ON "groups" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('patch_category_group_id_fk', 'patch_category', 'groups', 'FULL', 'group_id', 'group_id');
+CREATE CONSTRAINT TRIGGER "support_status_id_fk" AFTER INSERT OR UPDATE ON "support" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('support_status_id_fk', 'support', 'support_status', 'FULL', 'support_status_id', 'support_status_id');
+CREATE CONSTRAINT TRIGGER "support_status_id_fk" AFTER DELETE ON "support_status" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('support_status_id_fk', 'support', 'support_status', 'FULL', 'support_status_id', 'support_status_id');
+CREATE CONSTRAINT TRIGGER "support_status_id_fk" AFTER UPDATE ON "support_status" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('support_status_id_fk', 'support', 'support_status', 'FULL', 'support_status_id', 'support_status_id');
+CREATE CONSTRAINT TRIGGER "support_category_id_fk" AFTER INSERT OR UPDATE ON "support" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('support_category_id_fk', 'support', 'support_category', 'FULL', 'support_category_id', 'support_category_id');
+CREATE CONSTRAINT TRIGGER "support_category_id_fk" AFTER DELETE ON "support_category" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('support_category_id_fk', 'support', 'support_category', 'FULL', 'support_category_id', 'support_category_id');
+CREATE CONSTRAINT TRIGGER "support_category_id_fk" AFTER UPDATE ON "support_category" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('support_category_id_fk', 'support', 'support_category', 'FULL', 'support_category_id', 'support_category_id');
+CREATE CONSTRAINT TRIGGER "support_submitted_by_fk" AFTER INSERT OR UPDATE ON "support" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('support_submitted_by_fk', 'support', 'users', 'FULL', 'submitted_by', 'user_id');
+CREATE CONSTRAINT TRIGGER "support_submitted_by_fk" AFTER DELETE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('support_submitted_by_fk', 'support', 'users', 'FULL', 'submitted_by', 'user_id');
+CREATE CONSTRAINT TRIGGER "support_submitted_by_fk" AFTER UPDATE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('support_submitted_by_fk', 'support', 'users', 'FULL', 'submitted_by', 'user_id');
+CREATE CONSTRAINT TRIGGER "support_assigned_to_fk" AFTER INSERT OR UPDATE ON "support" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('support_assigned_to_fk', 'support', 'users', 'FULL', 'assigned_to', 'user_id');
+CREATE CONSTRAINT TRIGGER "support_assigned_to_fk" AFTER DELETE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('support_assigned_to_fk', 'support', 'users', 'FULL', 'assigned_to', 'user_id');
+CREATE CONSTRAINT TRIGGER "support_assigned_to_fk" AFTER UPDATE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('support_assigned_to_fk', 'support', 'users', 'FULL', 'assigned_to', 'user_id');
+CREATE CONSTRAINT TRIGGER "support_category_group_id_fk" AFTER INSERT OR UPDATE ON "support_category" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('support_category_group_id_fk', 'support_category', 'groups', 'FULL', 'group_id', 'group_id');
+CREATE CONSTRAINT TRIGGER "support_category_group_id_fk" AFTER DELETE ON "groups" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('support_category_group_id_fk', 'support_category', 'groups', 'FULL', 'group_id', 'group_id');
+CREATE CONSTRAINT TRIGGER "support_category_group_id_fk" AFTER UPDATE ON "groups" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('support_category_group_id_fk', 'support_category', 'groups', 'FULL', 'group_id', 'group_id');
+CREATE CONSTRAINT TRIGGER "users_languageid_fk" AFTER INSERT OR UPDATE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('users_languageid_fk', 'users', 'supported_languages', 'FULL', 'language', 'language_id');
+CREATE CONSTRAINT TRIGGER "users_languageid_fk" AFTER DELETE ON "supported_languages" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('users_languageid_fk', 'users', 'supported_languages', 'FULL', 'language', 'language_id');
+CREATE CONSTRAINT TRIGGER "users_languageid_fk" AFTER UPDATE ON "supported_languages" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('users_languageid_fk', 'users', 'supported_languages', 'FULL', 'language', 'language_id');
+
Added: trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/dbusers.sql
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/dbusers.sql (rev 0)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/dbusers.sql 2011-02-24 14:55:50 UTC (rev 8040)
@@ -0,0 +1,32 @@
+--
+-- SourceForge: Breaking Down the Barriers to Open Source Development
+-- Copyright 1999-2001 (c) VA Linux Systems
+-- http://sourceforge.net
+--
+-- $Id$
+--
+
+CREATE USER backend WITH PASSWORD 'xxxxx' NOCREATEDB NOCREATEUSER;
+
+GRANT SELECT ON prweb_vhost,users,mail_group_list TO backend;
+GRANT SELECT,UPDATE ON prdb_dbs TO backend;
+
+
+CREATE USER stats WITH PASSWORD 'xxxxx' NOCREATEDB NOCREATEUSER;
+
+GRANT SELECT ON
+groups,
+frs_file,
+frs_package,
+frs_release
+TO stats;
+
+GRANT ALL ON
+frs_dlstats_file_agg,
+stats_ftp_downloads,
+stats_http_downloads,
+stats_cvs_group,
+stats_subd_pages
+TO stats;
+
+grant all on _rserv_log_ to stats;
Added: trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/languages.tab
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/languages.tab (rev 0)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/languages.tab 2011-02-24 14:55:50 UTC (rev 8040)
@@ -0,0 +1,23 @@
+1 English English.class English en
+2 Japanese Japanese.class Japanese ja
+3 Hebrew Hebrew.class Hebrew iw
+4 Spanish Spanish.class Spanish es
+5 Thai Thai.class Thai th
+6 German German.class German de
+7 French French.class French fr
+8 Italian Italian.class Italian it
+9 Norwegian Norwegian.class Norwegian no
+10 Swedish Swedish.class Swedish sv
+12 Dutch Dutch.class Dutch nl
+13 Esperanto Esperanto.class Esperanto eo
+14 Catalan Catalan.class Catalan ca
+15 Polish Polish.class Polish pl
+11 Trad.Chinese Chinese.class Chinese zh
+17 Russian Russian.class Russian ru
+18 Portuguese Portuguese.class Portuguese pt
+19 Greek Greek.class Greek el
+20 Bulgarian Bulgarian.class Bulgarian bg
+21 Indonesian Indonesian.class Indonesian id
+16 Pt. Brazillian PortugueseBrazillian.class PortugueseBrazillian pt
+22 Korean Korean.class Korean ko
+23 Smpl.Chinese SimplifiedChinese.class SimplifiedChinese zn
Added: trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/replicate.sh
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/replicate.sh (rev 0)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/replicate.sh 2011-02-24 14:55:50 UTC (rev 8040)
@@ -0,0 +1,54 @@
+#!/bin/sh
+#
+# SourceForge: Breaking Down the Barriers to Open Source Development
+# Copyright 1999-2001 (c) VA Linux Systems
+# http://sourceforge.net
+#
+# $Id$
+#
+
+MasterInit alexandria
+SlaveInit --host=sf-db2 stats
+
+MasterAddTable alexandria stats_site oid
+MasterAddTable alexandria stats_project oid
+MasterAddTable alexandria stats_project_developers oid
+MasterAddTable alexandria stats_project_metric oid
+MasterAddTable alexandria frs_dlstats_file_agg oid
+MasterAddTable alexandria stats_subd_pages oid
+MasterAddTable alexandria stats_agg_logo_by_group oid
+MasterAddTable alexandria stats_cvs_group oid
+MasterAddTable alexandria stats_agg_site_by_group oid
+MasterAddTable alexandria stats_site_pages_by_day oid
+MasterAddTable alexandria frs_package package_id
+MasterAddTable alexandria frs_release release_id
+MasterAddTable alexandria frs_file file_id
+MasterAddTable alexandria frs_processor processor_id
+MasterAddTable alexandria frs_filetype type_id
+MasterAddTable alexandria project_weekly_metric group_id
+MasterAddTable alexandria trove_cat trove_cat_id
+MasterAddTable alexandria trove_group_link trove_group_id
+MasterAddTable alexandria groups group_id
+MasterAddTable alexandria users user_id
+MasterAddTable alexandria foundry_projects id
+SlaveAddTable --host=sf-db2 stats foundry_projects id
+SlaveAddTable --host=sf-db2 stats stats_site oid
+SlaveAddTable --host=sf-db2 stats stats_project oid
+SlaveAddTable --host=sf-db2 stats stats_project_developers oid
+SlaveAddTable --host=sf-db2 stats stats_project_metric oid
+SlaveAddTable --host=sf-db2 stats frs_dlstats_file_agg oid
+SlaveAddTable --host=sf-db2 stats stats_subd_pages oid
+SlaveAddTable --host=sf-db2 stats stats_agg_logo_by_group oid
+SlaveAddTable --host=sf-db2 stats stats_cvs_group oid
+SlaveAddTable --host=sf-db2 stats stats_agg_site_by_group oid
+SlaveAddTable --host=sf-db2 stats stats_site_pages_by_day oid
+SlaveAddTable --host=sf-db2 stats frs_package package_id
+SlaveAddTable --host=sf-db2 stats frs_release release_id
+SlaveAddTable --host=sf-db2 stats frs_file file_id
+SlaveAddTable --host=sf-db2 stats frs_processor processor_id
+SlaveAddTable --host=sf-db2 stats frs_filetype type_id
+SlaveAddTable --host=sf-db2 stats project_weekly_metric group_id
+SlaveAddTable --host=sf-db2 stats trove_cat trove_cat_id
+SlaveAddTable --host=sf-db2 stats trove_group_link trove_group_id
+SlaveAddTable --host=sf-db2 stats groups group_id
+SlaveAddTable --host=sf-db2 stats users user_id
Property changes on: trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/replicate.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/replication-master.sql
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/replication-master.sql (rev 0)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/replication-master.sql 2011-02-24 14:55:50 UTC (rev 8040)
@@ -0,0 +1,65 @@
+--
+-- SourceForge: Breaking Down the Barriers to Open Source Development
+-- Copyright 1999-2001 (c) VA Linux Systems
+-- http://sourceforge.net
+--
+-- $Id$
+--
+
+COPY stats_site WITH OIDS TO '/home/tperdue/dumpfiles/stats_site.dump';
+COPY stats_project WITH OIDS TO '/home/tperdue/dumpfiles/stats_project.dump';
+COPY stats_project_developers WITH OIDS TO '/home/tperdue/dumpfiles/stats_project_developers.dump';
+COPY stats_project_metric WITH OIDS TO '/home/tperdue/dumpfiles/stats_project_metric.dump';
+COPY frs_dlstats_file_agg WITH OIDS TO '/home/tperdue/dumpfiles/frs_dlstats_file_agg.dump';
+COPY stats_subd_pages WITH OIDS TO '/home/tperdue/dumpfiles/stats_subd_pages.dump';
+COPY stats_agg_logo_by_group WITH OIDS TO '/home/tperdue/dumpfiles/stats_agg_logo_by_group.dump';
+COPY stats_cvs_group WITH OIDS TO '/home/tperdue/dumpfiles/stats_cvs_group.dump';
+COPY stats_agg_site_by_group WITH OIDS TO '/home/tperdue/dumpfiles/stats_agg_site_by_group.dump';
+COPY stats_site_pages_by_day WITH OIDS TO '/home/tperdue/dumpfiles/stats_site_pages_by_day.dump';
+COPY frs_package WITH OIDS TO '/home/tperdue/dumpfiles/frs_package.dump';
+COPY frs_release WITH OIDS TO '/home/tperdue/dumpfiles/frs_release.dump';
+COPY frs_processor WITH OIDS TO '/home/tperdue/dumpfiles/frs_processor.dump';
+COPY frs_filetype WITH OIDS TO '/home/tperdue/dumpfiles/frs_filetype.dump';
+COPY frs_file WITH OIDS TO '/home/tperdue/dumpfiles/frs_file.dump';
+COPY project_weekly_metric WITH OIDS TO '/home/tperdue/dumpfiles/project_weekly_metric.dump';
+COPY trove_cat WITH OIDS TO '/home/tperdue/dumpfiles/trove_cat.dump';
+COPY trove_group_link WITH OIDS TO '/home/tperdue/dumpfiles/trove_group_link.dump';
+COPY users WITH OIDS TO '/home/tperdue/dumpfiles/users.dump';
+COPY groups WITH OIDS TO '/home/tperdue/dumpfiles/groups.dump';
+COPY foundry_projects WITH oids to '/home/tperdue/dumpfiles/foundry_projects.dump';
+
+
+DROP INDEX frs_release_date;
+DROP INDEX frs_file_name;
+DROP INDEX frs_file_processor;
+DROP INDEX frs_file_type;
+DROP INDEX frs_release_by;
+
+CREATE UNIQUE INDEX statssite_oid ON stats_site(oid);
+CREATE UNIQUE INDEX statsproject_oid ON stats_project(oid);
+CREATE UNIQUE INDEX statsprojectdevelop_oid ON stats_project_developers(oid);
+CREATE UNIQUE INDEX statsprojectmetric_oid ON stats_project_metric(oid);
+CREATE UNIQUE INDEX frsdlfileagg_oid ON frs_dlstats_file_agg(oid);
+CREATE UNIQUE INDEX statssubdpages_oid ON stats_subd_pages(oid);
+CREATE UNIQUE INDEX statsagglogobygrp_oid ON stats_agg_site_by_group(oid);
+CREATE UNIQUE INDEX statscvsgrp_oid ON stats_cvs_group(oid);
+CREATE UNIQUE INDEX statsaggsitebygrp_oid ON stats_agg_site_by_group(oid);
+CREATE UNIQUE INDEX statssitepgsbyday_oid ON stats_site_pages_by_day(oid);
+
+DROP TABLE frs_dlstats_filetotal_agg;
+DROP TABLE frs_dlstats_grouptotal_agg;
+DROP TABLE frs_dlstats_group_agg;
+DROP TABLE stats_project_months;
+DROP TABLE stats_project_all;
+DROP TABLE stats_project_last_30;
+DROP TABLE stats_project_developers_last30;
+DROP TABLE stats_site_pages_by_month;
+DROP TABLE stats_site_last_30;
+DROP TABLE stats_site_months;
+DROP TABLE stats_site_all;
+DROP TABLE trove_agg;
+DROP TABLE trove_treesums;
+
+DROP TABLE foundry_project_rankings_agg;
+DROP TABLE foundry_project_downloads_agg;
+
Added: trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/replication-reset-master.sql
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/replication-reset-master.sql (rev 0)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/replication-reset-master.sql 2011-02-24 14:55:50 UTC (rev 8040)
@@ -0,0 +1,43 @@
+BEGIN;
+
+--
+-- reloid's get lost during dump/restore - reset them
+--
+UPDATE _rserv_tables_
+SET reloid=
+(select oid
+FROM pg_class pgc
+WHERE relname=_rserv_tables_.tname);
+
+--
+-- Purge pending sync logs
+--
+DELETE FROM _rserv_log_;
+DELETE FROM _rserv_sync_;
+
+--
+-- Get a dump of all tables inside a transaction to guarantee integrity
+--
+COPY stats_site WITH OIDS TO '/home/tperdue/dumpfiles/stats_site.dump';
+COPY stats_project WITH OIDS TO '/home/tperdue/dumpfiles/stats_project.dump';
+COPY stats_project_developers WITH OIDS TO '/home/tperdue/dumpfiles/stats_project_developers.dump';
+COPY stats_project_metric WITH OIDS TO '/home/tperdue/dumpfiles/stats_project_metric.dump';
+COPY frs_dlstats_file_agg WITH OIDS TO '/home/tperdue/dumpfiles/frs_dlstats_file_agg.dump';
+COPY stats_subd_pages WITH OIDS TO '/home/tperdue/dumpfiles/stats_subd_pages.dump';
+COPY stats_agg_logo_by_group WITH OIDS TO '/home/tperdue/dumpfiles/stats_agg_logo_by_group.dump';
+COPY stats_cvs_group WITH OIDS TO '/home/tperdue/dumpfiles/stats_cvs_group.dump';
+COPY stats_agg_site_by_group WITH OIDS TO '/home/tperdue/dumpfiles/stats_agg_site_by_group.dump';
+COPY stats_site_pages_by_day WITH OIDS TO '/home/tperdue/dumpfiles/stats_site_pages_by_day.dump';
+COPY frs_package WITH OIDS TO '/home/tperdue/dumpfiles/frs_package.dump';
+COPY frs_release WITH OIDS TO '/home/tperdue/dumpfiles/frs_release.dump';
+COPY frs_processor WITH OIDS TO '/home/tperdue/dumpfiles/frs_processor.dump';
+COPY frs_filetype WITH OIDS TO '/home/tperdue/dumpfiles/frs_filetype.dump';
+COPY frs_file WITH OIDS TO '/home/tperdue/dumpfiles/frs_file.dump';
+COPY project_weekly_metric WITH OIDS TO '/home/tperdue/dumpfiles/project_weekly_metric.dump';
+COPY trove_cat WITH OIDS TO '/home/tperdue/dumpfiles/trove_cat.dump';
+COPY trove_group_link WITH OIDS TO '/home/tperdue/dumpfiles/trove_group_link.dump';
+COPY users WITH OIDS TO '/home/tperdue/dumpfiles/users.dump';
+COPY groups WITH OIDS TO '/home/tperdue/dumpfiles/groups.dump';
+COPY foundry_projects WITH oids to '/home/tperdue/dumpfiles/foundry_projects.dump';
+
+COMMIT;
Added: trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/replication-reset-slave.sql
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/replication-reset-slave.sql (rev 0)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/replication-reset-slave.sql 2011-02-24 14:55:50 UTC (rev 8040)
@@ -0,0 +1,58 @@
+--
+-- reloid's get lost during a dump/restore - reset them
+--
+UPDATE _rserv_slave_tables_
+SET reloid=
+(select oid
+FROM pg_class pgc
+WHERE relname=_rserv_slave_tables_.tname);
+
+--
+-- Blank out all the tables
+--
+TRUNCATE foundry_projects ;
+TRUNCATE stats_site ;
+TRUNCATE stats_project ;
+TRUNCATE stats_project_developers ;
+TRUNCATE stats_project_metric ;
+TRUNCATE frs_dlstats_file_agg ;
+TRUNCATE stats_subd_pages ;
+TRUNCATE stats_agg_logo_by_group ;
+TRUNCATE stats_cvs_group ;
+TRUNCATE stats_agg_site_by_group ;
+TRUNCATE stats_site_pages_by_day ;
+TRUNCATE frs_package ;
+TRUNCATE frs_release ;
+TRUNCATE frs_processor ;
+TRUNCATE frs_filetype ;
+TRUNCATE frs_file ;
+TRUNCATE users ;
+TRUNCATE groups ;
+TRUNCATE project_weekly_metric ;
+TRUNCATE trove_cat ;
+TRUNCATE trove_group_link ;
+
+COPY foundry_projects WITH oids from '/home/tperdue/dumpfiles/foundry_projects.dump';
+COPY stats_site WITH OIDS FROM '/home/tperdue/dumpfiles/stats_site.dump';
+COPY stats_project WITH OIDS FROM '/home/tperdue/dumpfiles/stats_project.dump';
+COPY stats_project_developers WITH OIDS FROM '/home/tperdue/dumpfiles/stats_project_developers.dump';
+COPY stats_project_metric WITH OIDS FROM '/home/tperdue/dumpfiles/stats_project_metric.dump';
+COPY frs_dlstats_file_agg WITH OIDS FROM '/home/tperdue/dumpfiles/frs_dlstats_file_agg.dump';
+COPY stats_subd_pages WITH OIDS FROM '/home/tperdue/dumpfiles/stats_subd_pages.dump';
+COPY stats_agg_logo_by_group WITH OIDS FROM '/home/tperdue/dumpfiles/stats_agg_logo_by_group.dump';
+COPY stats_cvs_group WITH OIDS FROM '/home/tperdue/dumpfiles/stats_cvs_group.dump';
+COPY stats_agg_site_by_group WITH OIDS FROM '/home/tperdue/dumpfiles/stats_agg_site_by_group.dump';
+COPY stats_site_pages_by_day WITH OIDS FROM '/home/tperdue/dumpfiles/stats_site_pages_by_day.dump';
+COPY frs_package WITH OIDS FROM '/home/tperdue/dumpfiles/frs_package.dump';
+COPY frs_release WITH OIDS FROM '/home/tperdue/dumpfiles/frs_release.dump';
+COPY frs_processor WITH OIDS FROM '/home/tperdue/dumpfiles/frs_processor.dump';
+COPY frs_filetype WITH OIDS FROM '/home/tperdue/dumpfiles/frs_filetype.dump';
+COPY frs_file WITH OIDS FROM '/home/tperdue/dumpfiles/frs_file.dump';
+COPY users WITH OIDS FROM '/home/tperdue/dumpfiles/users.dump';
+COPY groups WITH OIDS FROM '/home/tperdue/dumpfiles/groups.dump';
+COPY project_weekly_metric WITH OIDS FROM '/home/tperdue/dumpfiles/project_weekly_metric.dump';
+COPY trove_cat WITH OIDS FROM '/home/tperdue/dumpfiles/trove_cat.dump';
+COPY trove_group_link WITH OIDS FROM '/home/tperdue/dumpfiles/trove_group_link.dump';
+
+DELETE FROM _rserv_slave_sync_;
+
Added: trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/replication-slave.sql
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/replication-slave.sql (rev 0)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/replication-slave.sql 2011-02-24 14:55:50 UTC (rev 8040)
@@ -0,0 +1,349 @@
+--
+-- SourceForge: Breaking Down the Barriers to Open Source Development
+-- Copyright 1999-2001 (c) VA Linux Systems
+-- http://sourceforge.net
+--
+-- $Id$
+--
+
+CREATE TABLE "stats_site" (
+ "month" integer,
+ "day" integer,
+ "uniq_users" integer,
+ "sessions" integer,
+ "total_users" integer,
+ "new_users" integer,
+ "new_projects" integer
+);
+CREATE UNIQUE INDEX "statssite_month_day" on "stats_site" using btree ( "month" "int4_ops", "day" "int4_ops" );
+
+
+CREATE TABLE "stats_project" (
+ "month" integer DEFAULT 0 NOT NULL,
+ "day" integer DEFAULT 0 NOT NULL,
+ "group_id" integer DEFAULT 0 NOT NULL,
+ "file_releases" integer DEFAULT 0,
+ "msg_posted" integer DEFAULT 0,
+ "msg_uniq_auth" integer DEFAULT 0,
+ "bugs_opened" integer DEFAULT 0,
+ "bugs_closed" integer DEFAULT 0,
+ "support_opened" integer DEFAULT 0,
+ "support_closed" integer DEFAULT 0,
+ "patches_opened" integer DEFAULT 0,
+ "patches_closed" integer DEFAULT 0,
+ "artifacts_opened" integer DEFAULT 0,
+ "artifacts_closed" integer DEFAULT 0,
+ "tasks_opened" integer DEFAULT 0,
+ "tasks_closed" integer DEFAULT 0,
+ "help_requests" integer DEFAULT 0
+);
+CREATE UNIQUE INDEX "statsproject_month_day_group" on "stats_project"
+ using btree ( "month" "int4_ops", "day" "int4_ops", "group_id" "int4_ops" );
+
+
+CREATE TABLE "stats_project_developers" (
+ "month" integer DEFAULT 0 NOT NULL,
+ "day" integer DEFAULT 0 NOT NULL,
+ "group_id" integer DEFAULT 0 NOT NULL,
+ "developers" integer DEFAULT 0 NOT NULL
+);
+CREATE UNIQUE INDEX "statsprojectdev_month_day_group" on "stats_project_developers"
+ using btree ( "month" "int4_ops", "day" "int4_ops", "group_id" "int4_ops" );
+
+
+CREATE TABLE "stats_project_metric" (
+ "month" integer DEFAULT 0 NOT NULL,
+ "day" integer DEFAULT 0 NOT NULL,
+ "ranking" integer DEFAULT 0 NOT NULL,
+ "percentile" double precision DEFAULT 0 NOT NULL,
+ "group_id" integer DEFAULT 0 NOT NULL
+);
+CREATE UNIQUE INDEX "statsprojectmetric_month_day_gr" on "stats_project_metric"
+ using btree ( "month" "int4_ops", "day" "int4_ops", "group_id" "int4_ops" );
+
+
+CREATE TABLE "frs_dlstats_file_agg" (
+ "month" integer,
+ "day" integer,
+ "file_id" integer,
+ "downloads" integer
+);
+CREATE UNIQUE INDEX "frsdlfileagg_month_day_file" on "frs_dlstats_file_agg"
+ using btree ( "month" "int4_ops", "day" "int4_ops", "file_id" "int4_ops" );
+
+
+CREATE TABLE "stats_subd_pages" (
+ "month" integer DEFAULT 0 NOT NULL,
+ "day" integer DEFAULT 0 NOT NULL,
+ "group_id" integer DEFAULT 0 NOT NULL,
+ "pages" integer DEFAULT 0 NOT NULL
+);
+CREATE UNIQUE INDEX "statssubdpages_month_day_group" on "stats_subd_pages"
+ using btree ( "month" "int4_ops", "day" "int4_ops", "group_id" "int4_ops" );
+
+
+CREATE TABLE "stats_agg_logo_by_group" (
+ "month" integer,
+ "day" integer,
+ "group_id" integer,
+ "count" integer
+);
+CREATE UNIQUE INDEX "statslogobygroup_month_day_grou" on "stats_agg_logo_by_group"
+ using btree ( "month" "int4_ops", "day" "int4_ops", "group_id" "int4_ops" );
+
+
+CREATE TABLE "stats_cvs_group" (
+ "month" integer DEFAULT 0 NOT NULL,
+ "day" integer DEFAULT 0 NOT NULL,
+ "group_id" integer DEFAULT 0 NOT NULL,
+ "checkouts" integer DEFAULT 0 NOT NULL,
+ "commits" integer DEFAULT 0 NOT NULL,
+ "adds" integer DEFAULT 0 NOT NULL
+);
+CREATE UNIQUE INDEX "statscvsgroup_month_day_group" on "stats_cvs_group"
+ using btree ( "month" "int4_ops", "day" "int4_ops", "group_id" "int4_ops" );
+
+
+CREATE TABLE "stats_agg_site_by_group" (
+ "month" integer,
+ "day" integer,
+ "group_id" integer,
+ "count" integer
+);
+CREATE UNIQUE INDEX "statssitebygroup_month_day_grou" on "stats_agg_site_by_group"
+ using btree ( "month" "int4_ops", "day" "int4_ops", "group_id" "int4_ops" );
+
+
+CREATE TABLE "stats_site_pages_by_day" (
+ "month" integer,
+ "day" integer,
+ "site_page_views" integer
+);
+CREATE INDEX "statssitepagesbyday_month_day" on "stats_site_pages_by_day"
+ using btree ( "month" "int4_ops", "day" "int4_ops" );
+
+
+CREATE TABLE "frs_package" (
+ "package_id" integer DEFAULT nextval('frs_package_pk_seq'::text) NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "name" text,
+ "status_id" integer DEFAULT '0' NOT NULL,
+ Constraint "frs_package_pkey" Primary Key ("package_id")
+);
+CREATE INDEX "package_group_id" on "frs_package" using btree ( "group_id" "int4_ops" );
+
+
+CREATE TABLE "frs_release" (
+ "release_id" integer DEFAULT nextval('frs_release_pk_seq'::text) NOT NULL,
+ "package_id" integer DEFAULT '0' NOT NULL,
+ "name" text,
+ "notes" text,
+ "changes" text,
+ "status_id" integer DEFAULT '0' NOT NULL,
+ "preformatted" integer DEFAULT '0' NOT NULL,
+ "release_date" integer DEFAULT '0' NOT NULL,
+ "released_by" integer DEFAULT '0' NOT NULL,
+ Constraint "frs_release_pkey" Primary Key ("release_id")
+);
+CREATE INDEX "frs_release_package" on "frs_release" using btree ( "package_id" "int4_ops" );
+
+
+CREATE TABLE "frs_file" (
+ "file_id" integer DEFAULT nextval('frs_file_pk_seq'::text) NOT NULL,
+ "filename" text,
+ "release_id" integer DEFAULT '0' NOT NULL,
+ "type_id" integer DEFAULT '0' NOT NULL,
+ "processor_id" integer DEFAULT '0' NOT NULL,
+ "release_time" integer DEFAULT '0' NOT NULL,
+ "file_size" integer DEFAULT '0' NOT NULL,
+ "post_date" integer DEFAULT '0' NOT NULL,
+ Constraint "frs_file_pkey" Primary Key ("file_id")
+);
+CREATE INDEX "frs_file_date" on "frs_file" using btree ( "post_date" "int4_ops" );
+CREATE INDEX "frs_file_release_id" on "frs_file" using btree ( "release_id" "int4_ops" );
+
+
+CREATE TABLE "users" (
+ "user_id" integer DEFAULT nextval('users_pk_seq'::text) NOT NULL,
+ "user_name" text DEFAULT '' NOT NULL,
+ "email" text DEFAULT '' NOT NULL,
+ "user_pw" character varying(32) DEFAULT '' NOT NULL,
+ "realname" character varying(32) DEFAULT '' NOT NULL,
+ "status" character(1) DEFAULT 'A' NOT NULL,
+ "shell" character varying(20) DEFAULT '/bin/bash' NOT NULL,
+ "unix_pw" character varying(40) DEFAULT '' NOT NULL,
+ "unix_status" character(1) DEFAULT 'N' NOT NULL,
+ "unix_uid" integer DEFAULT '0' NOT NULL,
+ "unix_box" character varying(10) DEFAULT 'shell1' NOT NULL,
+ "add_date" integer DEFAULT '0' NOT NULL,
+ "confirm_hash" character varying(32),
+ "mail_siteupdates" integer DEFAULT '0' NOT NULL,
+ "mail_va" integer DEFAULT '0' NOT NULL,
+ "authorized_keys" text,
+ "email_new" text,
+ "people_view_skills" integer DEFAULT '0' NOT NULL,
+ "people_resume" text DEFAULT '' NOT NULL,
+ "timezone" character varying(64) DEFAULT 'GMT',
+ "language" integer DEFAULT '1' NOT NULL,
+ Constraint "users_pkey" Primary Key ("user_id")
+);
+CREATE UNIQUE INDEX "users_namename_uniq" on "users" using btree ( "user_name" "text_ops" );
+CREATE INDEX "users_status" on "users" using btree ( "status" "bpchar_ops" );
+CREATE INDEX "users_user_pw" on "users" using btree ( "user_pw" "varchar_ops" );
+
+
+CREATE TABLE "groups" (
+ "group_id" integer DEFAULT nextval('groups_pk_seq'::text) NOT NULL,
+ "group_name" character varying(40),
+ "homepage" character varying(128),
+ "is_public" integer DEFAULT '0' NOT NULL,
+ "status" character(1) DEFAULT 'A' NOT NULL,
+ "unix_group_name" character varying(30) DEFAULT '' NOT NULL,
+ "unix_box" character varying(20) DEFAULT 'shell1' NOT NULL,
+ "http_domain" character varying(80),
+ "short_description" character varying(255),
+ "cvs_box" character varying(20) DEFAULT 'cvs1' NOT NULL,
+ "license" character varying(16),
+ "register_purpose" text,
+ "license_other" text,
+ "register_time" integer DEFAULT '0' NOT NULL,
+ "dead1" integer DEFAULT '1' NOT NULL,
+ "rand_hash" text,
+ "use_mail" integer DEFAULT '1' NOT NULL,
+ "use_survey" integer DEFAULT '1' NOT NULL,
+ "dead2" integer DEFAULT '1' NOT NULL,
+ "use_forum" integer DEFAULT '1' NOT NULL,
+ "use_pm" integer DEFAULT '1' NOT NULL,
+ "use_cvs" integer DEFAULT '1' NOT NULL,
+ "use_news" integer DEFAULT '1' NOT NULL,
+ "dead3" integer DEFAULT '1' NOT NULL,
+ "dead4" text DEFAULT '' NOT NULL,
+ "dead5" text DEFAULT '' NOT NULL,
+ "dead6" text DEFAULT '' NOT NULL,
+ "type" integer DEFAULT '1' NOT NULL,
+ "use_docman" integer DEFAULT '1' NOT NULL,
+ "dead7" integer DEFAULT '0' NOT NULL,
+ "dead8" integer DEFAULT '0' NOT NULL,
+ "dead9" integer DEFAULT '0' NOT NULL,
+ "new_task_address" text DEFAULT '' NOT NULL,
+ "send_all_tasks" integer DEFAULT '0' NOT NULL,
+ "dead10" integer DEFAULT '1' NOT NULL,
+ "use_pm_depend_box" integer DEFAULT '1' NOT NULL,
+ "dead11" integer,
+ "dead12" integer,
+ "dead13" integer,
+ Constraint "groups_pkey" Primary Key ("group_id")
+);
+CREATE UNIQUE INDEX "group_unix_uniq" on "groups" using btree ( "unix_group_name" "varchar_ops" );
+CREATE INDEX "groups_type" on "groups" using btree ( "type" "int4_ops" );
+CREATE INDEX "groups_public" on "groups" using btree ( "is_public" "int4_ops" );
+CREATE INDEX "groups_status" on "groups" using btree ( "status" "bpchar_ops" );
+
+
+CREATE TABLE "frs_processor" (
+ "processor_id" integer DEFAULT nextval('frs_processor_pk_seq'::text) NOT NULL,
+ "name" text,
+ Constraint "frs_processor_pkey" Primary Key ("processor_id")
+);
+
+
+CREATE TABLE "frs_filetype" (
+ "type_id" integer DEFAULT nextval('frs_filetype_pk_seq'::text) NOT NULL,
+ "name" text,
+ Constraint "frs_filetype_pkey" Primary Key ("type_id")
+);
+
+
+CREATE TABLE "project_weekly_metric" (
+ "ranking" integer DEFAULT nextval('project_weekly_metric_pk_seq'::text) NOT NULL,
+ "percentile" double precision,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ Constraint "project_weekly_metric_pkey" Primary Key ("ranking")
+);
+CREATE INDEX "projectweeklymetric_ranking" on "project_weekly_metric" using btree ( "ranking" "int4_ops" );
+CREATE INDEX "project_metric_weekly_group" on "project_weekly_metric" using btree ( "group_id" "int4_ops" );
+
+
+CREATE TABLE "trove_group_link" (
+ "trove_group_id" integer DEFAULT nextval('trove_group_link_pk_seq'::text) NOT NULL,
+ "trove_cat_id" integer DEFAULT '0' NOT NULL,
+ "trove_cat_version" integer DEFAULT '0' NOT NULL,
+ "group_id" integer DEFAULT '0' NOT NULL,
+ "trove_cat_root" integer DEFAULT '0' NOT NULL,
+ Constraint "trove_group_link_pkey" Primary Key ("trove_group_id")
+);
+CREATE INDEX "trove_group_link_group_id" on "trove_group_link" using btree ( "group_id" "int4_ops" );
+CREATE INDEX "trove_group_link_cat_id" on "trove_group_link" using btree ( "trove_cat_id" "int4_ops" );
+
+
+CREATE TABLE "trove_cat" (
+ "trove_cat_id" integer DEFAULT nextval('trove_cat_pk_seq'::text) NOT NULL,
+ "version" integer DEFAULT '0' NOT NULL,
+ "parent" integer DEFAULT '0' NOT NULL,
+ "root_parent" integer DEFAULT '0' NOT NULL,
+ "shortname" character varying(80),
+ "fullname" character varying(80),
+ "description" character varying(255),
+ "count_subcat" integer DEFAULT '0' NOT NULL,
+ "count_subproj" integer DEFAULT '0' NOT NULL,
+ "fullpath" text DEFAULT '' NOT NULL,
+ "fullpath_ids" text,
+ Constraint "trove_cat_pkey" Primary Key ("trove_cat_id")
+);
+CREATE INDEX "parent_idx" on "trove_cat" using btree ( "parent" "int4_ops" );
+CREATE INDEX "root_parent_idx" on "trove_cat" using btree ( "root_parent" "int4_ops" );
+CREATE INDEX "version_idx" on "trove_cat" using btree ( "version" "int4_ops" );
+
+
+CREATE SEQUENCE "trove_treesums_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+CREATE TABLE "trove_treesums" (
+ "trove_treesums_id" integer DEFAULT nextval('trove_treesums_pk_seq'::text) NOT NULL,
+ "trove_cat_id" integer DEFAULT '0' NOT NULL,
+ "limit_1" integer DEFAULT '0' NOT NULL,
+ "subprojects" integer DEFAULT '0' NOT NULL,
+ Constraint "trove_treesums_pkey" Primary Key ("trove_treesums_id")
+);
+
+CREATE TABLE "foundry_projects" (
+ "id" integer DEFAULT nextval('foundry_projects_pk_seq'::text) NOT NULL,
+ "foundry_id" integer DEFAULT '0' NOT NULL,
+ "project_id" integer DEFAULT '0' NOT NULL,
+ Constraint "foundry_projects_pkey" Primary Key ("id")
+);
+CREATE INDEX "foundry_projects_foundry" on "foundry_projects" using btree (
+"foundry_id" "int4_ops" );
+
+COPY foundry_projects WITH oids from '/home/tperdue/dumpfiles/foundry_projects.dump';
+COPY stats_site WITH OIDS FROM '/home/tperdue/dumpfiles/stats_site.dump';
+COPY stats_project WITH OIDS FROM '/home/tperdue/dumpfiles/stats_project.dump';
+COPY stats_project_developers WITH OIDS FROM '/home/tperdue/dumpfiles/stats_project_developers.dump';
+COPY stats_project_metric WITH OIDS FROM '/home/tperdue/dumpfiles/stats_project_metric.dump';
+COPY frs_dlstats_file_agg WITH OIDS FROM '/home/tperdue/dumpfiles/frs_dlstats_file_agg.dump';
+COPY stats_subd_pages WITH OIDS FROM '/home/tperdue/dumpfiles/stats_subd_pages.dump';
+COPY stats_agg_logo_by_group WITH OIDS FROM '/home/tperdue/dumpfiles/stats_agg_logo_by_group.dump';
+COPY stats_cvs_group WITH OIDS FROM '/home/tperdue/dumpfiles/stats_cvs_group.dump';
+COPY stats_agg_site_by_group WITH OIDS FROM '/home/tperdue/dumpfiles/stats_agg_site_by_group.dump';
+COPY stats_site_pages_by_day WITH OIDS FROM '/home/tperdue/dumpfiles/stats_site_pages_by_day.dump';
+COPY frs_package WITH OIDS FROM '/home/tperdue/dumpfiles/frs_package.dump';
+COPY frs_release WITH OIDS FROM '/home/tperdue/dumpfiles/frs_release.dump';
+COPY frs_processor WITH OIDS FROM '/home/tperdue/dumpfiles/frs_processor.dump';
+COPY frs_filetype WITH OIDS FROM '/home/tperdue/dumpfiles/frs_filetype.dump';
+COPY frs_file WITH OIDS FROM '/home/tperdue/dumpfiles/frs_file.dump';
+COPY users WITH OIDS FROM '/home/tperdue/dumpfiles/users.dump';
+COPY groups WITH OIDS FROM '/home/tperdue/dumpfiles/groups.dump';
+COPY project_weekly_metric WITH OIDS FROM '/home/tperdue/dumpfiles/project_weekly_metric.dump';
+COPY trove_cat WITH OIDS FROM '/home/tperdue/dumpfiles/trove_cat.dump';
+COPY trove_group_link WITH OIDS FROM '/home/tperdue/dumpfiles/trove_group_link.dump';
+
+drop index project_weekly_metric_pkey;
+
+CREATE UNIQUE INDEX statssite_oid ON stats_site(oid);
+CREATE UNIQUE INDEX statsproject_oid ON stats_project(oid);
+CREATE UNIQUE INDEX statsprojectdevelop_oid ON stats_project_developers(oid);
+CREATE UNIQUE INDEX statsprojectmetric_oid ON stats_project_metric(oid);
+CREATE UNIQUE INDEX frsdlfileagg_oid ON frs_dlstats_file_agg(oid);
+CREATE UNIQUE INDEX statssubdpages_oid ON stats_subd_pages(oid);
+CREATE UNIQUE INDEX statsagglogobygrp_oid ON stats_agg_logo_by_group(oid);
+CREATE UNIQUE INDEX statscvsgrp_oid ON stats_cvs_group(oid);
+CREATE UNIQUE INDEX statsaggsitebygrp_oid ON stats_agg_site_by_group(oid);
+CREATE UNIQUE INDEX statssitepgsbyday_oid ON stats_site_pages_by_day(oid);
Added: trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/replication.plan
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/replication.plan (rev 0)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/replication.plan 2011-02-24 14:55:50 UTC (rev 8040)
@@ -0,0 +1,54 @@
+#
+# SourceForge: Breaking Down the Barriers to Open Source Development
+# Copyright 1999-2001 (c) VA Linux Systems
+# http://sourceforge.net
+#
+# $Id$
+#
+
+Replicate Tables:
+
+stats_site
+stats_project
+stats_project_developers
+stats_project_metric
+frs_dlstats_file_agg
+stats_subd_pages
+stats_agg_logo_by_group
+stats_cvs_group
+stats_agg_site_by_group
+stats_site_pages_by_day
+
+project_weekly_metric
+trove_cat
+trove_group_link
+
+frs_package
+frs_release
+frs_file
+frs_processor
+frs_filetype
+users
+groups
+
+foundry_projects
+
+Slave-only tables:
+
+frs_dlstats_filetotal_agg
+frs_dlstats_grouptotal_agg
+frs_dlstats_group_agg
+stats_project_months
+stats_project_all
+stats_project_last_30
+stats_project_developers_last30
+stats_site_pages_by_month
+stats_site_last_30
+stats_site_months
+stats_site_all
+
+trove_agg
+trove_treesums
+
+foundry_project_rankings_agg
+foundry_project_downloads_agg
Added: trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/trove_cat.tab
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/trove_cat.tab (rev 0)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/trove_cat.tab 2011-02-24 14:55:50 UTC (rev 8040)
@@ -0,0 +1,305 @@
+1 2000031601 0 0 audience Intended Audience The main class of people likely to be interested in this resource. 0 0 Intended Audience 1
+2 2000032401 1 1 endusers End Users/Desktop Programs and resources for software end users. Software for the desktop. 0 0 Intended Audience :: End Users/Desktop 1 :: 2
+3 2000041101 1 1 developers Developers Programs and resources for software developers, to include libraries. 0 0 Intended Audience :: Developers 1 :: 3
+4 2000031601 1 1 sysadmins System Administrators Programs and resources for people who administer computers and networks. 0 0 Intended Audience :: System Administrators 1 :: 4
+5 2000040701 1 1 other Other Audience Programs and resources for an unlisted audience. 0 0 Intended Audience :: Other Audience 1 :: 5
+6 2000031601 0 0 developmentstatus Development Status An indication of the development status of the software or resource. 0 0 Development Status 6
+7 2000040701 6 6 planning 1 - Planning This resource is in the planning stages only. There is no code. 0 0 Development Status :: 1 - Planning 6 :: 7
+8 2000040701 6 6 prealpha 2 - Pre-Alpha There is code for this project, but it is not usable except for further development. 0 0 Development Status :: 2 - Pre-Alpha 6 :: 8
+9 2000041101 6 6 alpha 3 - Alpha Resource is in early development, and probably incomplete and/or extremely buggy. 0 0 Development Status :: 3 - Alpha 6 :: 9
+10 2000040701 6 6 beta 4 - Beta Resource is in late phases of development. Deliverables are essentially complete, but may still have significant bugs. 0 0 Development Status :: 4 - Beta 6 :: 10
+11 2000040701 6 6 production 5 - Production/Stable Deliverables are complete and usable by the intended audience. 0 0 Development Status :: 5 - Production/Stable 6 :: 11
+12 2000040701 6 6 mature 6 - Mature This resource has an extensive history of successful use and has probably undergone several stable revisions. 0 0 Development Status :: 6 - Mature 6 :: 12
+13 2000031601 0 0 license License License terms under which the resource is distributed. 0 0 License 13
+197 2000032001 13 13 publicdomain Public Domain Public Domain. No author-retained rights. 0 0 License :: Public Domain 13 :: 197
+196 2000040701 13 13 other Other/Proprietary License Non OSI-Approved/Proprietary license. 0 0 License :: Other/Proprietary License 13 :: 196
+14 2000032401 13 13 osi OSI Approved Licenses that have been approved by OSI as approved 0 0 License :: OSI Approved 13 :: 14
+303 2001041701 14 13 nethack Nethack General Public License Nethack General Public License 0 0 License :: OSI Approved :: Nethack General Public License 13 :: 14 :: 303
+141 2000032001 136 18 clustering Clustering/Distributed Networks Tools for automatically distributing computation across a network. 0 0 Topic :: System :: Clustering/Distributed Networks 18 :: 136 :: 141
+139 2000032001 136 18 boot Boot Programs for bootstrapping your OS. 0 0 Topic :: System :: Boot 18 :: 136 :: 139
+140 2000032001 139 18 init Init Init-time programs to start system services after boot. 0 0 Topic :: System :: Boot :: Init 18 :: 136 :: 139 :: 140
+138 2000032001 136 18 benchmark Benchmark Programs for benchmarking system performance. 0 0 Topic :: System :: Benchmark 18 :: 136 :: 138
+74 2000042701 136 18 emulators Emulators Emulations of foreign operating systme and machines. 0 0 Topic :: System :: Emulators 18 :: 136 :: 74
+19 2000032001 136 18 archiving Archiving Tools for maintaining and searching software or document archives. 0 0 Topic :: System :: Archiving 18 :: 136 :: 19
+137 2000032001 19 18 backup Backup Programs to manage and sequence system backup. 0 0 Topic :: System :: Archiving :: Backup 18 :: 136 :: 19 :: 137
+42 2000031601 19 18 compression Compression Tools and libraries for data compression. 0 0 Topic :: System :: Archiving :: Compression 18 :: 136 :: 19 :: 42
+41 2000031601 19 18 packaging Packaging Tools for packing and unpacking multi-file formats. Includes data-only formats and software package systems. 0 0 Topic :: System :: Archiving :: Packaging 18 :: 136 :: 19 :: 41
+132 2000032001 18 18 religion Religion Programs relating to religion and sacred texts. 0 0 Topic :: Religion 18 :: 132
+129 2000031701 18 18 office Office/Business Software for assisting and organizing work at your desk. 0 0 Topic :: Office/Business 18 :: 129
+131 2000032001 129 18 suites Office Suites Integrated office suites (word processing, presentation, spreadsheet, database, etc). 0 0 Topic :: Office/Business :: Office Suites 18 :: 129 :: 131
+130 2000031701 129 18 scheduling Scheduling Projects for scheduling time, to include project management. 0 0 Topic :: Office/Business :: Scheduling 18 :: 129 :: 130
+75 2000031701 129 18 financial Financial Programs related to finance. 0 0 Topic :: Office/Business :: Financial 18 :: 129 :: 75
+79 2000031601 75 18 pointofsale Point-Of-Sale Point-Of-Sale applications. 0 0 Topic :: Office/Business :: Financial :: Point-Of-Sale 18 :: 129 :: 75 :: 79
+78 2000031601 75 18 spreadsheet Spreadsheet Spreadsheet applications. 0 0 Topic :: Office/Business :: Financial :: Spreadsheet 18 :: 129 :: 75 :: 78
+77 2000031601 75 18 investment Investment Programs for assisting in financial investment. 0 0 Topic :: Office/Business :: Financial :: Investment 18 :: 129 :: 75 :: 77
+76 2000031601 75 18 accounting Accounting Checkbook balancers and accounting programs. 0 0 Topic :: Office/Business :: Financial :: Accounting 18 :: 129 :: 75 :: 76
+234 2000040701 18 18 other Other/Nonlisted Topic Topic does not fit into any listed category. 0 0 Topic :: Other/Nonlisted Topic 18 :: 234
+156 2000032001 18 18 terminals Terminals Terminal emulators, terminal programs, and terminal session utilities. 0 0 Topic :: Terminals 18 :: 156
+159 2000032001 156 18 telnet Telnet Support for telnet; terminal sessions across Internet links. 0 0 Topic :: Terminals :: Telnet 18 :: 156 :: 159
+158 2000032001 156 18 virtual Terminal Emulators/X Terminals Programs to handle multiple terminal sessions. Includes terminal emulations for X and other window systems. 0 0 Topic :: Terminals :: Terminal Emulators/X Terminals 18 :: 156 :: 158
+157 2000032001 156 18 serial Serial Dialup, terminal emulation, and file transfer over serial lines. 0 0 Topic :: Terminals :: Serial 18 :: 156 :: 157
+115 2000031701 113 18 capture Capture/Recording Sound capture and recording. 0 0 Topic :: Multimedia :: Sound/Audio :: Capture/Recording 18 :: 99 :: 113 :: 115
+114 2000031701 113 18 analysis Analysis Sound analysis tools, to include frequency analysis. 0 0 Topic :: Multimedia :: Sound/Audio :: Analysis 18 :: 99 :: 113 :: 114
+100 2000031601 99 18 graphics Graphics Tools and resources for computer graphics. 0 0 Topic :: Multimedia :: Graphics 18 :: 99 :: 100
+112 2000031701 100 18 viewers Viewers Programs that can display various graphics formats. 0 0 Topic :: Multimedia :: Graphics :: Viewers 18 :: 99 :: 100 :: 112
+111 2000031701 100 18 presentation Presentation Tools for generating presentation graphics and slides. 0 0 Topic :: Multimedia :: Graphics :: Presentation 18 :: 99 :: 100 :: 111
+110 2000031701 100 18 3drendering 3D Rendering Programs which render 3D models. 0 0 Topic :: Multimedia :: Graphics :: 3D Rendering 18 :: 99 :: 100 :: 110
+109 2000031701 100 18 3dmodeling 3D Modeling Programs for working with 3D Models. 0 0 Topic :: Multimedia :: Graphics :: 3D Modeling 18 :: 99 :: 100 :: 109
+106 2000031701 100 18 editors Editors Drawing, painting, and structured editing programs. 0 0 Topic :: Multimedia :: Graphics :: Editors 18 :: 99 :: 100 :: 106
+108 2000031701 106 18 raster Raster-Based Raster/Bitmap based drawing programs. 0 0 Topic :: Multimedia :: Graphics :: Editors :: Raster-Based 18 :: 99 :: 100 :: 106 :: 108
+107 2000031701 106 18 vector Vector-Based Vector-Based drawing programs. 0 0 Topic :: Multimedia :: Graphics :: Editors :: Vector-Based 18 :: 99 :: 100 :: 106 :: 107
+105 2000031701 100 18 conversion Graphics Conversion Programs which convert between graphics formats. 0 0 Topic :: Multimedia :: Graphics :: Graphics Conversion 18 :: 99 :: 100 :: 105
+101 2000031601 100 18 capture Capture Support for scanners, cameras, and screen capture. 0 0 Topic :: Multimedia :: Graphics :: Capture 18 :: 99 :: 100 :: 101
+104 2000031601 101 18 screencapture Screen Capture Screen capture tools and processors. 0 0 Topic :: Multimedia :: Graphics :: Capture :: Screen Capture 18 :: 99 :: 100 :: 101 :: 104
+103 2000031601 101 18 cameras Digital Camera Digital Camera 0 0 Topic :: Multimedia :: Graphics :: Capture :: Digital Camera 18 :: 99 :: 100 :: 101 :: 103
+102 2000031601 101 18 scanners Scanners Support for graphic scanners. 0 0 Topic :: Multimedia :: Graphics :: Capture :: Scanners 18 :: 99 :: 100 :: 101 :: 102
+154 2000032001 18 18 printing Printing Tools, daemons, and utilities for printer control. 0 0 Topic :: Printing 18 :: 154
+136 2000032001 18 18 system System Operating system core and administration utilities. 0 0 Topic :: System 18 :: 136
+294 2001032001 136 18 shells System Shells System Shells 0 0 Topic :: System :: System Shells 18 :: 136 :: 294
+257 2000071101 136 18 softwaredist Software Distribution Systems software for distributing other software. 0 0 Topic :: System :: Software Distribution 18 :: 136 :: 257
+253 2000071101 136 18 sysadministration Systems Administration Systems Administration Software (e.g. configuration apps.) 0 0 Topic :: System :: Systems Administration 18 :: 136 :: 253
+289 2001032001 253 18 authentication Authentication/Directory Authentication and directory services 0 0 Topic :: System :: Systems Administration :: Authentication/Directory 18 :: 136 :: 253 :: 289
+291 2001032001 289 18 ldap LDAP Leightweight directory access protocol 0 0 Topic :: System :: Systems Administration :: Authentication/Directory :: LDAP 18 :: 136 :: 253 :: 289 :: 291
+290 2001032001 289 18 nis NIS NIS services 0 0 Topic :: System :: Systems Administration :: Authentication/Directory :: NIS 18 :: 136 :: 253 :: 289 :: 290
+153 2000032001 136 18 power Power (UPS) Code for communication with uninterruptible power supplies. 0 0 Topic :: System :: Power (UPS) 18 :: 136 :: 153
+150 2000032001 136 18 networking Networking Network configuration and administration. 0 0 Topic :: System :: Networking 18 :: 136 :: 150
+152 2000032001 150 18 monitoring Monitoring System monitoring, traffic analysis, and sniffers. 0 0 Topic :: System :: Networking :: Monitoring 18 :: 136 :: 150 :: 152
+155 2000032001 152 18 watchdog Hardware Watchdog Software to monitor and perform actions or shutdown on hardware trouble detection. 0 0 Topic :: System :: Networking :: Monitoring :: Hardware Watchdog 18 :: 136 :: 150 :: 152 :: 155
+151 2000032001 150 18 firewalls Firewalls Firewalls and filtering systems. 0 0 Topic :: System :: Networking :: Firewalls 18 :: 136 :: 150 :: 151
+148 2000032001 136 18 logging Logging Utilities for clearing, rotating, and digesting system logs. 0 0 Topic :: System :: Logging 18 :: 136 :: 148
+147 2000032001 136 18 setup Installation/Setup Tools for installation and setup of the operating system and other programs. 0 0 Topic :: System :: Installation/Setup 18 :: 136 :: 147
+146 2000032001 136 18 hardware Hardware Tools for direct, non-kernel control and configuration of hardware. 0 0 Topic :: System :: Hardware 18 :: 136 :: 146
+292 2001032001 146 18 drivers Hardware Drivers Hardware Drivers 0 0 Topic :: System :: Hardware :: Hardware Drivers 18 :: 136 :: 146 :: 292
+144 2000032001 136 18 kernels Operating System Kernels OS Kernels, patches, modules, and tools. 0 0 Topic :: System :: Operating System Kernels 18 :: 136 :: 144
+239 2000041301 144 18 gnuhurd GNU Hurd Kernel code and modules for GNU Hurd. 0 0 Topic :: System :: Operating System Kernels :: GNU Hurd 18 :: 136 :: 144 :: 239
+145 2000032001 144 18 bsd BSD Code relating to any of the BSD kernels. 0 0 Topic :: System :: Operating System Kernels :: BSD 18 :: 136 :: 144 :: 145
+143 2000032001 144 18 linux Linux The Linux kernel, patches, and modules. 0 0 Topic :: System :: Operating System Kernels :: Linux 18 :: 136 :: 144 :: 143
+142 2000032001 136 18 filesystems Filesystems Support for creating, editing, reading, and writing file systems. 0 0 Topic :: System :: Filesystems 18 :: 136 :: 142
+287 2001032001 80 18 boardgames Board Games Board Games 0 0 Topic :: Games/Entertainment :: Board Games 18 :: 80 :: 287
+268 2000082101 80 18 Puzzles Puzzle Games Puzzle Games 0 0 Topic :: Games/Entertainment :: Puzzle Games 18 :: 80 :: 268
+86 2000031601 80 18 mud Multi-User Dungeons (MUD) Massively-multiplayer text based games. 0 0 Topic :: Games/Entertainment :: Multi-User Dungeons (MUD) 18 :: 80 :: 86
+85 2000031601 80 18 simulation Simulation Simulation games 0 0 Topic :: Games/Entertainment :: Simulation 18 :: 80 :: 85
+84 2000031601 80 18 rpg Role-Playing Role-Playing games 0 0 Topic :: Games/Entertainment :: Role-Playing 18 :: 80 :: 84
+83 2000032401 80 18 turnbasedstrategy Turn Based Strategy Turn Based Strategy 0 0 Topic :: Games/Entertainment :: Turn Based Strategy 18 :: 80 :: 83
+82 2000031601 80 18 firstpersonshooters First Person Shooters First Person Shooters. 0 0 Topic :: Games/Entertainment :: First Person Shooters 18 :: 80 :: 82
+81 2000031601 80 18 realtimestrategy Real Time Strategy Real Time strategy games 0 0 Topic :: Games/Entertainment :: Real Time Strategy 18 :: 80 :: 81
+288 2001032001 80 18 sidescrolling Side-Scrolling/Arcade Games Arcade-style side-scrolling games 0 0 Topic :: Games/Entertainment :: Side-Scrolling/Arcade Games 18 :: 80 :: 288
+71 2000031601 18 18 education Education Programs and tools for educating yourself or others. 0 0 Topic :: Education 18 :: 71
+73 2000031601 71 18 testing Testing Tools for testing someone's knowledge on a subject. 0 0 Topic :: Education :: Testing 18 :: 71 :: 73
+72 2000031601 71 18 cai Computer Aided Instruction (CAI) Programs for authoring or using Computer Aided Instrution courses. 0 0 Topic :: Education :: Computer Aided Instruction (CAI) 18 :: 71 :: 72
+66 2000031601 18 18 database Database Front ends, engines, and tools for database work. 0 0 Topic :: Database 18 :: 66
+68 2000031601 66 18 frontends Front-Ends Clients and front-ends for generating queries to database engines. 0 0 Topic :: Database :: Front-Ends 18 :: 66 :: 68
+67 2000031601 66 18 engines Database Engines/Servers Programs that manage data and provide control via some query language. 0 0 Topic :: Database :: Database Engines/Servers 18 :: 66 :: 67
+63 2000032001 18 18 editors Text Editors Programs for editing code and documents. 0 0 Topic :: Text Editors 18 :: 63
+285 2001032001 63 18 textprocessing Text Processing Programs or libraries that are designed to batch process text documents 0 0 Topic :: Text Editors :: Text Processing 18 :: 63 :: 285
+70 2000031601 63 18 wordprocessors Word Processors WYSIWYG word processors. 0 0 Topic :: Text Editors :: Word Processors 18 :: 63 :: 70
+69 2000031601 63 18 documentation Documentation Tools for the creation and use of documentation. 0 0 Topic :: Text Editors :: Documentation 18 :: 63 :: 69
+65 2000031601 63 18 ide Integrated Development Environments (IDE) Complete editing environments for code, including cababilities such as compilation and code building assistance. 0 0 Topic :: Text Editors :: Integrated Development Environments (IDE) 18 :: 63 :: 65
+64 2000031601 63 18 emacs Emacs GNU Emacs and its imitators and tools. 0 0 Topic :: Text Editors :: Emacs 18 :: 63 :: 64
+125 2000031701 99 18 video Video Video capture, editing, and playback. 0 0 Topic :: Multimedia :: Video 18 :: 99 :: 125
+126 2000031701 125 18 capture Capture Video capture tools. 0 0 Topic :: Multimedia :: Video :: Capture 18 :: 99 :: 125 :: 126
+256 2000071101 125 18 nonlineareditor Non-Linear Editor Video Non-Linear Editors 0 0 Topic :: Multimedia :: Video :: Non-Linear Editor 18 :: 99 :: 125 :: 256
+128 2000031701 125 18 display Display Programs which display various video formats. 0 0 Topic :: Multimedia :: Video :: Display 18 :: 99 :: 125 :: 128
+127 2000031701 125 18 conversion Conversion Programs which convert between video formats. 0 0 Topic :: Multimedia :: Video :: Conversion 18 :: 99 :: 125 :: 127
+113 2000031701 99 18 sound Sound/Audio Tools for generating, editing, analyzing, and playing sound. 0 0 Topic :: Multimedia :: Sound/Audio 18 :: 99 :: 113
+249 2000042801 113 18 synthesis Sound Synthesis Software for creation and synthesis of sound. 0 0 Topic :: Multimedia :: Sound/Audio :: Sound Synthesis 18 :: 99 :: 113 :: 249
+248 2000042801 113 18 midi MIDI Software related to MIDI synthesis and playback. 0 0 Topic :: Multimedia :: Sound/Audio :: MIDI 18 :: 99 :: 113 :: 248
+124 2000031701 113 18 speech Speech Speech manipulation and intepretation tools. 0 0 Topic :: Multimedia :: Sound/Audio :: Speech 18 :: 99 :: 113 :: 124
+122 2000031701 113 18 players Players Programs to play audio files to a sound device. 0 0 Topic :: Multimedia :: Sound/Audio :: Players 18 :: 99 :: 113 :: 122
+123 2000031701 122 18 mp3 MP3 Programs to play MP3 audio files. 0 0 Topic :: Multimedia :: Sound/Audio :: Players :: MP3 18 :: 99 :: 113 :: 122 :: 123
+121 2000031701 113 18 mixers Mixers Programs to mix audio. 0 0 Topic :: Multimedia :: Sound/Audio :: Mixers 18 :: 99 :: 113 :: 121
+120 2000031701 113 18 editors Editors Programs to edit/manipulate sound data. 0 0 Topic :: Multimedia :: Sound/Audio :: Editors 18 :: 99 :: 113 :: 120
+119 2000031701 113 18 conversion Conversion Programs to convert between audio formats. 0 0 Topic :: Multimedia :: Sound/Audio :: Conversion 18 :: 99 :: 113 :: 119
+116 2000031701 113 18 cdaudio CD Audio Programs to play and manipulate audio CDs. 0 0 Topic :: Multimedia :: Sound/Audio :: CD Audio 18 :: 99 :: 113 :: 116
+88 2000031601 87 18 finger Finger The Finger protocol for getting information about users. 0 0 Topic :: Internet :: Finger 18 :: 87 :: 88
+118 2000031701 116 18 cdripping CD Ripping Software to convert CD Audio to other digital formats. 0 0 Topic :: Multimedia :: Sound/Audio :: CD Audio :: CD Ripping 18 :: 99 :: 113 :: 116 :: 118
+117 2000031701 116 18 cdplay CD Playing CD Playing software, to include jukebox software. 0 0 Topic :: Multimedia :: Sound/Audio :: CD Audio :: CD Playing 18 :: 99 :: 113 :: 116 :: 117
+260 2000071401 52 18 SCCS SCCS SCCS 0 0 Topic :: Software Development :: Version Control :: SCCS 18 :: 45 :: 52 :: 260
+54 2000031601 52 18 rcs RCS Tools for RCS (Revision Control System). 0 0 Topic :: Software Development :: Version Control :: RCS 18 :: 45 :: 52 :: 54
+53 2000031601 52 18 cvs CVS Tools for CVS (Concurrent Versioning System). 0 0 Topic :: Software Development :: Version Control :: CVS 18 :: 45 :: 52 :: 53
+50 2000031601 45 18 objectbrokering Object Brokering Object brokering libraries and tools. 0 0 Topic :: Software Development :: Object Brokering 18 :: 45 :: 50
+51 2000031601 50 18 corba CORBA Tools for implementation and use of CORBA. 0 0 Topic :: Software Development :: Object Brokering :: CORBA 18 :: 45 :: 50 :: 51
+49 2000031601 45 18 interpreters Interpreters Programs for interpreting and executing high-level languages directly. 0 0 Topic :: Software Development :: Interpreters 18 :: 45 :: 49
+48 2000031601 45 18 compilers Compilers Programs for compiling high-level languges into machine code. 0 0 Topic :: Software Development :: Compilers 18 :: 45 :: 48
+47 2000031601 45 18 debuggers Debuggers Programs for controlling and monitoring the execution of compiled binaries. 0 0 Topic :: Software Development :: Debuggers 18 :: 45 :: 47
+46 2000031601 45 18 build Build Tools Software for the build process. 0 0 Topic :: Software Development :: Build Tools 18 :: 45 :: 46
+43 2000031601 18 18 security Security Security-related software, to include system administration and cryptography. 0 0 Topic :: Security 18 :: 43
+44 2000031601 43 18 cryptography Cryptography Cryptography programs, algorithms, and libraries. 0 0 Topic :: Security :: Cryptography 18 :: 43 :: 44
+97 2000042701 18 18 scientific Scientific/Engineering Scientific applications, to include research, applied and pure mathematics and sciences. 0 0 Topic :: Scientific/Engineering 18 :: 97
+98 2000031601 97 18 mathematics Mathematics Software to support pure and applied mathematics. 0 0 Topic :: Scientific/Engineering :: Mathematics 18 :: 97 :: 98
+272 2000100501 97 18 HMI Human Machine Interfaces This applies to the Factory/Machine control/Automation fields where there are already thousands of applications and millions of installations. 0 0 Topic :: Scientific/Engineering :: Human Machine Interfaces 18 :: 97 :: 272
+266 2000081601 97 18 medical Medical Science Apps. Medical / BioMedical Science Apps. 0 0 Topic :: Scientific/Engineering :: Medical Science Apps. 18 :: 97 :: 266
+252 2000071101 97 18 bioinformatics Bio-Informatics Category for gene software (e.g. Gene Ontology) 0 0 Topic :: Scientific/Engineering :: Bio-Informatics 18 :: 97 :: 252
+246 2000042701 97 18 eda Electronic Design Automation (EDA) Tools for circuit design, schematics, board layout, and more. 0 0 Topic :: Scientific/Engineering :: Electronic Design Automation (EDA) 18 :: 97 :: 246
+135 2000032001 97 18 visualization Visualization Software for scientific visualization. 0 0 Topic :: Scientific/Engineering :: Visualization 18 :: 97 :: 135
+134 2000032001 97 18 astronomy Astronomy Software and tools related to astronomy. 0 0 Topic :: Scientific/Engineering :: Astronomy 18 :: 97 :: 134
+133 2000032001 97 18 ai Artificial Intelligence Artificial Intelligence. 0 0 Topic :: Scientific/Engineering :: Artificial Intelligence 18 :: 97 :: 133
+87 2000031601 18 18 internet Internet Tools to assist human access to the Internet. 0 0 Topic :: Internet 18 :: 87
+270 2000083101 87 18 WAP WAP Wireless Access Protocol 0 0 Topic :: Internet :: WAP 18 :: 87 :: 270
+245 2000042701 87 18 loganalysis Log Analysis Software to help analyze various log files. 0 0 Topic :: Internet :: Log Analysis 18 :: 87 :: 245
+149 2000032001 87 18 dns Name Service (DNS) Domain name system servers and utilities. 0 0 Topic :: Internet :: Name Service (DNS) 18 :: 87 :: 149
+90 2000031601 87 18 www WWW/HTTP Programs and tools for the World Wide Web. 0 0 Topic :: Internet :: WWW/HTTP 18 :: 87 :: 90
+250 2000042801 90 18 httpservers HTTP Servers Software designed to serve content via the HTTP protocol. 0 0 Topic :: Internet :: WWW/HTTP :: HTTP Servers 18 :: 87 :: 90 :: 250
+243 2000042701 90 18 sitemanagement Site Management Tools for maintanance and management of web sites. 0 0 Topic :: Internet :: WWW/HTTP :: Site Management 18 :: 87 :: 90 :: 243
+244 2000042701 243 18 linkchecking Link Checking Tools to assist in checking for broken links. 0 0 Topic :: Internet :: WWW/HTTP :: Site Management :: Link Checking 18 :: 87 :: 90 :: 243 :: 244
+93 2000031601 90 18 indexing Indexing/Search Indexing and search tools for the Web. 0 0 Topic :: Internet :: WWW/HTTP :: Indexing/Search 18 :: 87 :: 90 :: 93
+92 2000031601 90 18 dynamic Dynamic Content Common Gateway Interface scripting and server-side parsing. 0 0 Topic :: Internet :: WWW/HTTP :: Dynamic Content 18 :: 87 :: 90 :: 92
+96 2000031601 92 18 cgi CGI Tools/Libraries Tools for the Common Gateway Interface 0 0 Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries 18 :: 87 :: 90 :: 92 :: 96
+95 2000031601 92 18 messageboards Message Boards Online message boards 0 0 Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Message Boards 18 :: 87 :: 90 :: 92 :: 95
+94 2000031601 92 18 counters Page Counters Scripts to count numbers of pageviews. 0 0 Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Page Counters 18 :: 87 :: 90 :: 92 :: 94
+91 2000031601 90 18 browsers Browsers Web Browsers 0 0 Topic :: Internet :: WWW/HTTP :: Browsers 18 :: 87 :: 90 :: 91
+89 2000031601 87 18 ftp File Transfer Protocol (FTP) Programs and tools for file transfer via FTP. 0 0 Topic :: Internet :: File Transfer Protocol (FTP) 18 :: 87 :: 89
+80 2000031601 18 18 games Games/Entertainment Games and Entertainment software. 0 0 Topic :: Games/Entertainment 18 :: 80
+18 2000031601 0 0 topic Topic Topic categorization. 0 0 Topic 18
+20 2000032401 18 18 communications Communications Programs intended to facilitate communication between people. 0 0 Topic :: Communications 18 :: 20
+27 2000031601 20 18 conferencing Conferencing Software to support real-time conferencing over the Internet. 0 0 Topic :: Communications :: Conferencing 18 :: 20 :: 27
+22 2000031601 20 18 chat Chat Programs to support real-time communication over the Internet. 0 0 Topic :: Communications :: Chat 18 :: 20 :: 22
+26 2000031601 22 18 aim AOL Instant Messanger Programs to support AOL Instant Messanger. 0 0 Topic :: Communications :: Chat :: AOL Instant Messanger 18 :: 20 :: 22 :: 26
+25 2000031601 22 18 talk Unix Talk Programs to support Unix Talk protocol. 0 0 Topic :: Communications :: Chat :: Unix Talk 18 :: 20 :: 22 :: 25
+24 2000041101 22 18 irc Internet Relay Chat Programs to support Internet Relay Chat. 0 0 Topic :: Communications :: Chat :: Internet Relay Chat 18 :: 20 :: 22 :: 24
+23 2000031601 22 18 icq ICQ Programs to support ICQ. 0 0 Topic :: Communications :: Chat :: ICQ 18 :: 20 :: 22 :: 23
+21 2000031601 20 18 bbs BBS Bulletin Board systems. 0 0 Topic :: Communications :: BBS 18 :: 20 :: 21
+251 2000050101 20 18 filesharing File Sharing Software for person-to-person online file sharing. 0 0 Topic :: Communications :: File Sharing 18 :: 20 :: 251
+241 2000050101 251 18 napster Napster Clients and servers for the Napster file sharing protocol. 0 0 Topic :: Communications :: File Sharing :: Napster 18 :: 20 :: 251 :: 241
+286 2001032001 251 18 gnutella Gnutella Projects based around the gnutella protocol. 0 0 Topic :: Communications :: File Sharing :: Gnutella 18 :: 20 :: 251 :: 286
+247 2000042701 20 18 telephony Telephony Telephony related applications, to include automated voice response systems. 0 0 Topic :: Communications :: Telephony 18 :: 20 :: 247
+40 2000031601 20 18 internetphone Internet Phone Software to support real-time speech communication over the Internet. 0 0 Topic :: Communications :: Internet Phone 18 :: 20 :: 40
+39 2000031601 20 18 usenet Usenet News Software to support USENET news. 0 0 Topic :: Communications :: Usenet News 18 :: 20 :: 39
+38 2000031601 20 18 hamradio Ham Radio Tools and resources for amateur radio. 0 0 Topic :: Communications :: Ham Radio 18 :: 20 :: 38
+37 2000031601 20 18 fido FIDO Tools for FIDOnet mail and echoes. 0 0 Topic :: Communications :: FIDO 18 :: 20 :: 37
+36 2000031601 20 18 fax Fax Tools for sending and receiving facsimile messages. 0 0 Topic :: Communications :: Fax 18 :: 20 :: 36
+28 2000031601 20 18 email Email Programs for sending, processing, and handling electronic mail. 0 0 Topic :: Communications :: Email 18 :: 20 :: 28
+33 2000031601 28 18 postoffice Post-Office Programs to support post-office protocols, including POP and IMAP. 0 0 Topic :: Communications :: Email :: Post-Office 18 :: 20 :: 28 :: 33
+35 2000031601 33 18 imap IMAP Programs to support IMAP protocol (Internet Message Access Protocol). 0 0 Topic :: Communications :: Email :: Post-Office :: IMAP 18 :: 20 :: 28 :: 33 :: 35
+34 2000031601 33 18 pop3 POP3 Programs to support POP3 (Post-Office Protocol, version 3). 0 0 Topic :: Communications :: Email :: Post-Office :: POP3 18 :: 20 :: 28 :: 33 :: 34
+32 2000031601 28 18 mta Mail Transport Agents Email transport and gatewaying software. 0 0 Topic :: Communications :: Email :: Mail Transport Agents 18 :: 20 :: 28 :: 32
+31 2000031601 28 18 mua Email Clients (MUA) Programs for interactively reading and sending Email. 0 0 Topic :: Communications :: Email :: Email Clients (MUA) 18 :: 20 :: 28 :: 31
+30 2000031601 28 18 listservers Mailing List Servers Tools for managing electronic mailing lists. 0 0 Topic :: Communications :: Email :: Mailing List Servers 18 :: 20 :: 28 :: 30
+29 2000031601 28 18 filters Filters Content-driven filters and dispatchers for Email. 0 0 Topic :: Communications :: Email :: Filters 18 :: 20 :: 28 :: 29
+301 2001041701 14 13 nosl Nokia Open Source License Nokia Open Source License 0 0 License :: OSI Approved :: Nokia Open Source License 13 :: 14 :: 301
+299 2001041701 14 13 iosl Intel Open Source License Intel Open Source License 0 0 License :: OSI Approved :: Intel Open Source License 13 :: 14 :: 299
+297 2001041701 14 13 vsl Vovida Software License Vovida Software License 0 0 License :: OSI Approved :: Vovida Software License 13 :: 14 :: 297
+195 2000032001 14 13 zlib zlib/libpng License zlib/libpng License 0 0 License :: OSI Approved :: zlib/libpng License 13 :: 14 :: 195
+194 2000032001 14 13 python Python License Python License 0 0 License :: OSI Approved :: Python License 13 :: 14 :: 194
+193 2000032001 14 13 ricoh Ricoh Source Code Public License Ricoh Source Code Public License 0 0 License :: OSI Approved :: Ricoh Source Code Public License 13 :: 14 :: 193
+192 2000032001 14 13 cvw MITRE Collaborative Virtual Workspace License (CVW) MITRE Collaborative Virtual Workspace License (CVW) 0 0 License :: OSI Approved :: MITRE Collaborative Virtual Workspace License (CVW) 13 :: 14 :: 192
+191 2000032001 14 13 ibm IBM Public License IBM Public License 0 0 License :: OSI Approved :: IBM Public License 13 :: 14 :: 191
+190 2000032001 14 13 qpl QT Public License (QPL) QT Public License 0 0 License :: OSI Approved :: QT Public License (QPL) 13 :: 14 :: 190
+189 2000032001 14 13 mpl Mozilla Public License (MPL) Mozilla Public License (MPL) 0 0 License :: OSI Approved :: Mozilla Public License (MPL) 13 :: 14 :: 189
+305 2001041701 189 13 mpl11 Mozilla Public License 1.1 Mozilla Public License 1.1 0 0 License :: OSI Approved :: Mozilla Public License (MPL) :: Mozilla Public License 1.1 13 :: 14 :: 189 :: 305
+199 2000032101 0 0 os Operating System What operating system the program requires to run, if any. 0 0 Operating System 199
+200 2000032101 199 199 posix POSIX POSIX plus standard Berkeley socket facilities. Don't list a more specific OS unless your program requires it. 0 0 Operating System :: POSIX 199 :: 200
+201 2000032101 200 199 linux Linux Any version of Linux. Don't specify a subcategory unless the program requires a particular distribution. 0 0 Operating System :: POSIX :: Linux 199 :: 200 :: 201
+202 2000032101 200 199 bsd BSD Any variant of BSD. Don't specify a subcategory unless the program requires a particular BSD flavor. 0 0 Operating System :: POSIX :: BSD 199 :: 200 :: 202
+203 2000041101 202 199 freebsd FreeBSD FreeBSD 0 0 Operating System :: POSIX :: BSD :: FreeBSD 199 :: 200 :: 202 :: 203
+204 2000032101 202 199 netbsd NetBSD NetBSD 0 0 Operating System :: POSIX :: BSD :: NetBSD 199 :: 200 :: 202 :: 204
+205 2000032101 202 199 openbsd OpenBSD OpenBSD 0 0 Operating System :: POSIX :: BSD :: OpenBSD 199 :: 200 :: 202 :: 205
+206 2000032101 202 199 bsdos BSD/OS BSD/OS 0 0 Operating System :: POSIX :: BSD :: BSD/OS 199 :: 200 :: 202 :: 206
+207 2000032101 200 199 sun SunOS/Solaris Any Sun Microsystems OS. 0 0 Operating System :: POSIX :: SunOS/Solaris 199 :: 200 :: 207
+208 2000032101 200 199 sco SCO SCO 0 0 Operating System :: POSIX :: SCO 199 :: 200 :: 208
+209 2000032101 200 199 hpux HP-UX HP-UX 0 0 Operating System :: POSIX :: HP-UX 199 :: 200 :: 209
+210 2000032101 200 199 aix AIX AIX 0 0 Operating System :: POSIX :: AIX 199 :: 200 :: 210
+211 2000032101 200 199 irix IRIX IRIX 0 0 Operating System :: POSIX :: IRIX 199 :: 200 :: 211
+212 2000032101 200 199 other Other Other specific POSIX OS, specified in description. 0 0 Operating System :: POSIX :: Other 199 :: 200 :: 212
+282 2000121901 18 18 Sociology Sociology Social / Informational - Family / etc. 0 0 Topic :: Sociology 18 :: 282
+214 2000032101 199 199 microsoft Microsoft Microsoft operating systems. 0 0 Operating System :: Microsoft 199 :: 214
+215 2000032101 214 199 msdos MS-DOS Microsoft Disk Operating System (DOS) 0 0 Operating System :: Microsoft :: MS-DOS 199 :: 214 :: 215
+216 2000032101 214 199 windows Windows Windows software, not specific to any particular version of Windows. 0 0 Operating System :: Microsoft :: Windows 199 :: 214 :: 216
+217 2000032101 216 199 win31 Windows 3.1 or Earlier Windows 3.1 or Earlier 0 0 Operating System :: Microsoft :: Windows :: Windows 3.1 or Earlier 199 :: 214 :: 216 :: 217
+218 2000032101 216 199 win95 Windows 95/98/2000 Windows 95, Windows 98, and Windows 2000. 0 0 Operating System :: Microsoft :: Windows :: Windows 95/98/2000 199 :: 214 :: 216 :: 218
+219 2000041101 216 199 winnt Windows NT/2000 Windows NT and Windows 2000. 0 0 Operating System :: Microsoft :: Windows :: Windows NT/2000 199 :: 214 :: 216 :: 219
+220 2000032101 199 199 os2 OS/2 OS/2 0 0 Operating System :: OS/2 199 :: 220
+221 2000032101 199 199 macos MacOS MacOS 0 0 Operating System :: MacOS 199 :: 221
+222 2000032101 216 199 wince Windows CE Windows CE 0 0 Operating System :: Microsoft :: Windows :: Windows CE 199 :: 214 :: 216 :: 222
+223 2000032101 199 199 palmos PalmOS PalmOS (for Palm Pilot) 0 0 Operating System :: PalmOS 199 :: 223
+224 2000032101 199 199 beos BeOS BeOS 0 0 Operating System :: BeOS 199 :: 224
+225 2000032101 0 0 environment Environment Run-time environment required for this program. 0 0 Environment 225
+226 2000041101 225 225 console Console (Text Based) Console-based programs. 0 0 Environment :: Console (Text Based) 225 :: 226
+227 2000032401 226 225 curses Curses Curses-based software. 0 0 Environment :: Console (Text Based) :: Curses 225 :: 226 :: 227
+228 2000040701 226 225 newt Newt Newt 0 0 Environment :: Console (Text Based) :: Newt 225 :: 226 :: 228
+229 2000040701 225 225 x11 X11 Applications Programs that run in an X windowing environment. 0 0 Environment :: X11 Applications 225 :: 229
+230 2000040701 225 225 win32 Win32 (MS Windows) Programs designed to run in a graphical Microsoft Windows environment. 0 0 Environment :: Win32 (MS Windows) 225 :: 230
+231 2000040701 229 225 gnome Gnome Programs designed to run in a Gnome environment. 0 0 Environment :: X11 Applications :: Gnome 225 :: 229 :: 231
+232 2000040701 229 225 kde KDE Programs designed to run in a KDE environment. 0 0 Environment :: X11 Applications :: KDE 225 :: 229 :: 232
+233 2000040701 225 225 other Other Environment Programs designed to run in an environment other than one listed. 0 0 Environment :: Other Environment 225 :: 233
+283 2000121901 282 18 History History History / Informational 0 0 Topic :: Sociology :: History 18 :: 282 :: 283
+235 2000041001 199 199 independent OS Independent This software does not depend on any particular operating system. 0 0 Operating System :: OS Independent 199 :: 235
+236 2000040701 199 199 other Other OS Program is designe for a nonlisted operating system. 0 0 Operating System :: Other OS 199 :: 236
+237 2000041001 225 225 web Web Environment This software is designed for a web environment. 0 0 Environment :: Web Environment 225 :: 237
+238 2000041101 225 225 daemon No Input/Output (Daemon) This program has no input or output, but is intended to run in the background as a daemon. 0 0 Environment :: No Input/Output (Daemon) 225 :: 238
+284 2000121901 282 18 Genealogy Genealogy Family History / Genealogy 0 0 Topic :: Sociology :: Genealogy 18 :: 282 :: 284
+240 2000041301 200 199 gnuhurd GNU Hurd GNU Hurd 0 0 Operating System :: POSIX :: GNU Hurd 199 :: 200 :: 240
+55 2000031601 18 18 desktop Desktop Environment Accessories, managers, and utilities for your GUI desktop. 0 0 Topic :: Desktop Environment 18 :: 55
+58 2000031601 55 18 gnome Gnome Software for the Gnome desktop. 0 0 Topic :: Desktop Environment :: Gnome 18 :: 55 :: 58
+57 2000031601 55 18 kde K Desktop Environment (KDE) Software for the KDE desktop. 0 0 Topic :: Desktop Environment :: K Desktop Environment (KDE) 18 :: 55 :: 57
+61 2000031601 57 18 themes Themes Themes for KDE. 0 0 Topic :: Desktop Environment :: K Desktop Environment (KDE) :: Themes 18 :: 55 :: 57 :: 61
+56 2000031601 55 18 windowmanagers Window Managers Programs that provide window control and application launching. 0 0 Topic :: Desktop Environment :: Window Managers 18 :: 55 :: 56
+59 2000031601 56 18 enlightenment Enlightenment Software for the Enlightenment window manager. 0 0 Topic :: Desktop Environment :: Window Managers :: Enlightenment 18 :: 55 :: 56 :: 59
+60 2000031601 59 18 themes Themes Themes for the Enlightenment window manager. 0 0 Topic :: Desktop Environment :: Window Managers :: Enlightenment :: Themes 18 :: 55 :: 56 :: 59 :: 60
+62 2000031601 55 18 screensavers Screen Savers Screen savers and lockers. 0 0 Topic :: Desktop Environment :: Screen Savers 18 :: 55 :: 62
+259 2000071401 45 18 codegen Code Generators Code Generators 0 0 Topic :: Software Development :: Code Generators 18 :: 45 :: 259
+52 2000031601 45 18 versioncontrol Version Control Tools for managing multiple versions of evolving sources or documents. 0 0 Topic :: Software Development :: Version Control 18 :: 45 :: 52
+160 2000032001 0 0 language Programming Language Language in which this program was written, or was meant to support. 0 0 Programming Language 160
+161 2000032001 160 160 apl APL APL 0 0 Programming Language :: APL 160 :: 161
+164 2000032001 160 160 c C C 0 0 Programming Language :: C 160 :: 164
+162 2000032001 160 160 assembly Assembly Assembly-level programs. Platform specific. 0 0 Programming Language :: Assembly 160 :: 162
+163 2000051001 160 160 ada Ada Ada 0 0 Programming Language :: Ada 160 :: 163
+165 2000032001 160 160 cpp C++ C++ 0 0 Programming Language :: C++ 160 :: 165
+166 2000032401 160 160 eiffel Eiffel Eiffel 0 0 Programming Language :: Eiffel 160 :: 166
+167 2000032001 160 160 euler Euler Euler 0 0 Programming Language :: Euler 160 :: 167
+168 2000032001 160 160 forth Forth Forth 0 0 Programming Language :: Forth 160 :: 168
+169 2000032001 160 160 fortran Fortran Fortran 0 0 Programming Language :: Fortran 160 :: 169
+170 2000032001 160 160 lisp Lisp Lisp 0 0 Programming Language :: Lisp 160 :: 170
+171 2000041101 160 160 logo Logo Logo 0 0 Programming Language :: Logo 160 :: 171
+172 2000032001 160 160 ml ML ML 0 0 Programming Language :: ML 160 :: 172
+173 2000032001 160 160 modula Modula Modula-2 or Modula-3 0 0 Programming Language :: Modula 160 :: 173
+174 2000032001 160 160 objectivec Objective C Objective C 0 0 Programming Language :: Objective C 160 :: 174
+175 2000032001 160 160 pascal Pascal Pascal 0 0 Programming Language :: Pascal 160 :: 175
+176 2000032001 160 160 perl Perl Perl 0 0 Programming Language :: Perl 160 :: 176
+177 2000032001 160 160 prolog Prolog Prolog 0 0 Programming Language :: Prolog 160 :: 177
+178 2000032001 160 160 python Python Python 0 0 Programming Language :: Python 160 :: 178
+179 2000032001 160 160 rexx Rexx Rexx 0 0 Programming Language :: Rexx 160 :: 179
+180 2000032001 160 160 simula Simula Simula 0 0 Programming Language :: Simula 160 :: 180
+181 2000032001 160 160 smalltalk Smalltalk Smalltalk 0 0 Programming Language :: Smalltalk 160 :: 181
+182 2000032001 160 160 tcl Tcl Tcl 0 0 Programming Language :: Tcl 160 :: 182
+183 2000032001 160 160 php PHP PHP 0 0 Programming Language :: PHP 160 :: 183
+263 2000080401 160 160 euphoria Euphoria Euphoria programming language - http://www.rapideuphoria.com/ 0 0 Programming Language :: Euphoria 160 :: 263
+264 2000080701 160 160 erlang Erlang Erlang - developed by Ericsson - http://www.erlang.org/ 0 0 Programming Language :: Erlang 160 :: 264
+267 2000082001 160 160 zope Zope Zope Object Publishing 0 0 Programming Language :: Zope 160 :: 267
+269 2000082801 160 160 asm Assembly ASM programming 0 0 Programming Language :: Assembly 160 :: 269
+271 2000092001 160 160 csharp C# Microsoft's C++/Java Language 0 0 Programming Language :: C# 160 :: 271
+273 2000102001 160 160 Pike Pike Pike, see http://pike.roxen.com/. 0 0 Programming Language :: Pike 160 :: 273
+184 2000032001 160 160 asp ASP Active Server Pages 0 0 Programming Language :: ASP 160 :: 184
+185 2000032001 160 160 shell Unix Shell Unix Shell 0 0 Programming Language :: Unix Shell 160 :: 185
+186 2000032001 160 160 visualbasic Visual Basic Visual Basic 0 0 Programming Language :: Visual Basic 160 :: 186
+198 2000032001 160 160 java Java Java 0 0 Programming Language :: Java 160 :: 198
+213 2000032101 160 160 other Other Other programming language, specified in description. 0 0 Programming Language :: Other 160 :: 213
+242 2000042701 160 160 scheme Scheme Scheme programming language. 0 0 Programming Language :: Scheme 160 :: 242
+254 2000071101 160 160 plsql PL/SQL PL/SQL Programming Language 0 0 Programming Language :: PL/SQL 160 :: 254
+255 2000071101 160 160 progress PROGRESS PROGRESS Programming Language 0 0 Programming Language :: PROGRESS 160 :: 255
+258 2000071101 160 160 objectpascal Object Pascal Object Pascal 0 0 Programming Language :: Object Pascal 160 :: 258
+261 2000072501 160 160 xbasic XBasic XBasic programming language 0 0 Programming Language :: XBasic 160 :: 261
+262 2000073101 160 160 coldfusion Cold Fusion Cold Fusion Language 0 0 Programming Language :: Cold Fusion 160 :: 262
+304 2001041701 189 13 mpl10 Mozilla Public License 1.0 Mozilla Public License 1.0 0 0 License :: OSI Approved :: Mozilla Public License (MPL) :: Mozilla Public License 1.0 13 :: 14 :: 189 :: 304
+188 2000032001 14 13 mit MIT/X Consortium License MIT License, also the X Consortium License. 0 0 License :: OSI Approved :: MIT/X Consortium License 13 :: 14 :: 188
+187 2000032001 14 13 bsd BSD License BSD License 0 0 License :: OSI Approved :: BSD License 13 :: 14 :: 187
+17 2000032001 14 13 artistic Artistic License The Perl Artistic License 0 0 License :: OSI Approved :: Artistic License 13 :: 14 :: 17
+16 2000050801 14 13 lgpl GNU Lesser General Public License (LGPL) GNU Lesser General Public License 0 0 License :: OSI Approved :: GNU Lesser General Public License (LGPL) 13 :: 14 :: 16
+15 2000032001 14 13 gpl GNU General Public License (GPL) GNU General Public License. 0 0 License :: OSI Approved :: GNU General Public License (GPL) 13 :: 14 :: 15
+280 2000110101 160 160 JavaScript JavaScript Java Scripting Language 0 0 Programming Language :: JavaScript 160 :: 280
+281 2000111401 160 160 REBOL REBOL REBOL Programming Language 0 0 Programming Language :: REBOL 160 :: 281
+265 2001032001 160 160 Delphi Delphi/Kylix Borland/Inprise Delphi or other Object-Pascal based languages 0 0 Programming Language :: Delphi/Kylix 160 :: 265
+293 2001032001 160 160 ruby Ruby Ruby programming language 0 0 Programming Language :: Ruby 160 :: 293
+45 2000031601 18 18 development Software Development Software used to aid software development. 0 0 Topic :: Software Development 18 :: 45
+99 2000031601 18 18 multimedia Multimedia Graphics, sound, video, and multimedia. 0 0 Topic :: Multimedia 18 :: 99
+296 2001041701 14 13 asl Apache Software License Apache Software License 0 0 License :: OSI Approved :: Apache Software License 13 :: 14 :: 296
+274 2000102401 0 0 natlanguage Natural Language The oral/written language for the development and use of this software. 0 0 Natural Language 274
+295 2001040601 274 274 russian Russian Projects having something to do with Russian Language 0 0 Natural Language :: Russian 274 :: 295
+275 2000102401 274 274 english English English 0 0 Natural Language :: English 274 :: 275
+276 2000102401 274 274 french French French 0 0 Natural Language :: French 274 :: 276
+277 2000102401 274 274 spanish Spanish Spanish 0 0 Natural Language :: Spanish 274 :: 277
+278 2000102601 274 274 japanese Japanese Projects using the Japanese language 0 0 Natural Language :: Japanese 274 :: 278
+279 2000102601 274 274 german German Projects using the German language 0 0 Natural Language :: German 274 :: 279
+298 2001041701 14 13 sissl Sun Internet Standards Source License Sun Internet Standards Source License 0 0 License :: OSI Approved :: Sun Internet Standards Source License 13 :: 14 :: 298
+300 2001041701 14 13 josl Jabber Open Source License Jabber Open Source License 0 0 License :: OSI Approved :: Jabber Open Source License 13 :: 14 :: 300
+302 2001041701 14 13 sleepycat Sleepycat License Sleepycat License 0 0 License :: OSI Approved :: Sleepycat License 13 :: 14 :: 302
Added: trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/user_rating.sql
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/user_rating.sql (rev 0)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/db/SQL_2.6/user_rating.sql 2011-02-24 14:55:50 UTC (rev 8040)
@@ -0,0 +1,35 @@
+#
+#
+# 10200 is the group_id for the sfpeerratings project
+# REPLACE 10200 with your peerratings group_id
+#
+DROP TABLE user_metric0;
+DROP SEQUENCE user_metric0_pk_seq;
+CREATE SEQUENCE "user_metric0_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
+
+CREATE TABLE "user_metric0" (
+ "ranking" integer DEFAULT nextval('user_metric0_pk_seq'::text) NOT NULL,
+ "user_id" integer DEFAULT '0' NOT NULL,
+ "times_ranked" integer DEFAULT '0' NOT NULL,
+ "avg_raters_importance" double precision DEFAULT '0.00000000' NOT NULL,
+ "avg_rating" double precision DEFAULT '0.00000000' NOT NULL,
+ "metric" double precision DEFAULT '0.00000000' NOT NULL,
+ "percentile" double precision DEFAULT '0.00000000' NOT NULL,
+ "importance_factor" double precision DEFAULT '0.00000000' NOT NULL,
+ Constraint "user_metric0_pkey" Primary Key ("ranking")
+);
+CREATE INDEX "user_metric0_user_id" on "user_metric0" using btree ( "user_id" "int4_ops" );
+
+INSERT INTO user_metric0 (user_id,times_ranked,avg_raters_importance,avg_rating,metric,percentile,importance_factor)
+SELECT user_id,5,1.25,1,0,0,1.25
+FROM user_group
+WHERE
+user_group.group_id=4
+AND user_group.admin_flags='A';
+
+UPDATE user_metric0 SET
+metric=(log(times_ranked::float)*avg_rating::float)::float,
+percentile=(100-(100*((ranking::float-1)/(select count(*) from user_metric0))))::float;
+
+UPDATE user_metric0 SET
+importance_factor=(1+((percentile::float/100)*.5))::float;
Deleted: trunk/gforge_base/evolvisforge-5.1/gforge/db/SourceForge.sql
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/db/SourceForge.sql 2011-02-24 14:55:48 UTC (rev 8039)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/db/SourceForge.sql 2011-02-24 14:55:50 UTC (rev 8040)
@@ -1,1372 +0,0 @@
-CREATE SEQUENCE "bug_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "bug" (
- "bug_id" integer DEFAULT nextval('bug_pk_seq'::text) NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- "status_id" integer DEFAULT '0' NOT NULL,
- "priority" integer DEFAULT '0' NOT NULL,
- "category_id" integer DEFAULT '0' NOT NULL,
- "submitted_by" integer DEFAULT '0' NOT NULL,
- "assigned_to" integer DEFAULT '0' NOT NULL,
- "date" integer DEFAULT '0' NOT NULL,
- "summary" text,
- "details" text,
- "close_date" integer,
- "bug_group_id" integer DEFAULT '0' NOT NULL,
- "resolution_id" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("bug_id")
-);
-CREATE SEQUENCE "bug_bug_dependencies_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "bug_bug_dependencies" (
- "bug_depend_id" integer DEFAULT nextval('bug_bug_dependencies_pk_seq'::text) NOT NULL,
- "bug_id" integer DEFAULT '0' NOT NULL,
- "is_dependent_on_bug_id" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("bug_depend_id")
-);
-CREATE SEQUENCE "bug_canned_responses_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "bug_canned_responses" (
- "bug_canned_id" integer DEFAULT nextval('bug_canned_responses_pk_seq'::text) NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- "title" text,
- "body" text,
- PRIMARY KEY ("bug_canned_id")
-);
-CREATE SEQUENCE "bug_category_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "bug_category" (
- "bug_category_id" integer DEFAULT nextval('bug_category_pk_seq'::text) NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- "category_name" text,
- PRIMARY KEY ("bug_category_id")
-);
-CREATE SEQUENCE "bug_filter_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "bug_filter" (
- "filter_id" integer DEFAULT nextval('bug_filter_pk_seq'::text) NOT NULL,
- "user_id" integer DEFAULT '0' NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- "sql_clause" text DEFAULT '' NOT NULL,
- "is_active" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("filter_id")
-);
-CREATE SEQUENCE "bug_group_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "bug_group" (
- "bug_group_id" integer DEFAULT nextval('bug_group_pk_seq'::text) NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- "group_name" text DEFAULT '' NOT NULL,
- PRIMARY KEY ("bug_group_id")
-);
-CREATE SEQUENCE "bug_history_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "bug_history" (
- "bug_history_id" integer DEFAULT nextval('bug_history_pk_seq'::text) NOT NULL,
- "bug_id" integer DEFAULT '0' NOT NULL,
- "field_name" text DEFAULT '' NOT NULL,
- "old_value" text DEFAULT '' NOT NULL,
- "mod_by" integer DEFAULT '0' NOT NULL,
- "date" integer,
- PRIMARY KEY ("bug_history_id")
-);
-CREATE SEQUENCE "bug_resolution_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "bug_resolution" (
- "resolution_id" integer DEFAULT nextval('bug_resolution_pk_seq'::text) NOT NULL,
- "resolution_name" text DEFAULT '' NOT NULL,
- PRIMARY KEY ("resolution_id")
-);
-CREATE SEQUENCE "bug_status_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "bug_status" (
- "status_id" integer DEFAULT nextval('bug_status_pk_seq'::text) NOT NULL,
- "status_name" text,
- PRIMARY KEY ("status_id")
-);
-CREATE SEQUENCE "bug_task_dependencies_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "bug_task_dependencies" (
- "bug_depend_id" integer DEFAULT nextval('bug_task_dependencies_pk_seq'::text) NOT NULL,
- "bug_id" integer DEFAULT '0' NOT NULL,
- "is_dependent_on_task_id" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("bug_depend_id")
-);
-CREATE SEQUENCE "canned_responses_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "canned_responses" (
- "response_id" integer DEFAULT nextval('canned_responses_pk_seq'::text) NOT NULL,
- "response_title" character varying(25),
- "response_text" text,
- PRIMARY KEY ("response_id")
-);
-CREATE SEQUENCE "db_images_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "db_images" (
- "id" integer DEFAULT nextval('db_images_pk_seq'::text) NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- "description" text DEFAULT '' NOT NULL,
- "bin_data" text DEFAULT '' NOT NULL,
- "filename" text DEFAULT '' NOT NULL,
- "filesize" integer DEFAULT '0' NOT NULL,
- "filetype" text DEFAULT '' NOT NULL,
- "width" integer DEFAULT '0' NOT NULL,
- "height" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("id")
-);
-CREATE SEQUENCE "doc_data_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "doc_data" (
- "docid" integer DEFAULT nextval('doc_data_pk_seq'::text) NOT NULL,
- "stateid" integer DEFAULT '0' NOT NULL,
- "title" character varying(255) DEFAULT '' NOT NULL,
- "data" text DEFAULT '' NOT NULL,
- "updatedate" integer DEFAULT '0' NOT NULL,
- "createdate" integer DEFAULT '0' NOT NULL,
- "created_by" integer DEFAULT '0' NOT NULL,
- "doc_group" integer DEFAULT '0' NOT NULL,
- "description" text,
- "language_id" integer DEFAULT '1' NOT NULL,
- PRIMARY KEY ("docid")
-);
-CREATE SEQUENCE "doc_groups_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "doc_groups" (
- "doc_group" integer DEFAULT nextval('doc_groups_pk_seq'::text) NOT NULL,
- "groupname" character varying(255) DEFAULT '' NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("doc_group")
-);
-CREATE SEQUENCE "doc_states_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "doc_states" (
- "stateid" integer DEFAULT nextval('doc_states_pk_seq'::text) NOT NULL,
- "name" character varying(255) DEFAULT '' NOT NULL,
- PRIMARY KEY ("stateid")
-);
-CREATE SEQUENCE "filemodule_monitor_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "filemodule_monitor" (
- "id" integer DEFAULT nextval('filemodule_monitor_pk_seq'::text) NOT NULL,
- "filemodule_id" integer DEFAULT '0' NOT NULL,
- "user_id" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("id")
-);
-CREATE SEQUENCE "forum_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "forum" (
- "msg_id" integer DEFAULT nextval('forum_pk_seq'::text) NOT NULL,
- "group_forum_id" integer DEFAULT '0' NOT NULL,
- "posted_by" integer DEFAULT '0' NOT NULL,
- "subject" text DEFAULT '' NOT NULL,
- "body" text DEFAULT '' NOT NULL,
- "date" integer DEFAULT '0' NOT NULL,
- "is_followup_to" integer DEFAULT '0' NOT NULL,
- "thread_id" integer DEFAULT '0' NOT NULL,
- "has_followups" integer DEFAULT '0',
- "most_recent_date" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("msg_id")
-);
-CREATE TABLE "forum_agg_msg_count" (
- "group_forum_id" integer DEFAULT '0' NOT NULL,
- "count" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("group_forum_id")
-);
-CREATE SEQUENCE "forum_group_list_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "forum_group_list" (
- "group_forum_id" integer DEFAULT nextval('forum_group_list_pk_seq'::text) NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- "forum_name" text DEFAULT '' NOT NULL,
- "is_public" integer DEFAULT '0' NOT NULL,
- "description" text,
- "allow_anonymous" integer DEFAULT '0' NOT NULL,
- "send_all_posts_to" text,
- PRIMARY KEY ("group_forum_id")
-);
-CREATE SEQUENCE "forum_monitored_forums_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "forum_monitored_forums" (
- "monitor_id" integer DEFAULT nextval('forum_monitored_forums_pk_seq'::text) NOT NULL,
- "forum_id" integer DEFAULT '0' NOT NULL,
- "user_id" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("monitor_id")
-);
-CREATE SEQUENCE "forum_saved_place_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "forum_saved_place" (
- "saved_place_id" integer DEFAULT nextval('forum_saved_place_pk_seq'::text) NOT NULL,
- "user_id" integer DEFAULT '0' NOT NULL,
- "forum_id" integer DEFAULT '0' NOT NULL,
- "save_date" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("saved_place_id")
-);
-CREATE TABLE "foundry_data" (
- "foundry_id" integer DEFAULT '0' NOT NULL,
- "freeform1_html" text,
- "freeform2_html" text,
- "sponsor1_html" text,
- "sponsor2_html" text,
- "guide_image_id" integer DEFAULT '0' NOT NULL,
- "logo_image_id" integer DEFAULT '0' NOT NULL,
- "trove_categories" text,
- PRIMARY KEY ("foundry_id")
-);
-CREATE SEQUENCE "foundry_news_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "foundry_news" (
- "foundry_news_id" integer DEFAULT nextval('foundry_news_pk_seq'::text) NOT NULL,
- "foundry_id" integer DEFAULT '0' NOT NULL,
- "news_id" integer DEFAULT '0' NOT NULL,
- "approve_date" integer DEFAULT '0' NOT NULL,
- "is_approved" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("foundry_news_id")
-);
-CREATE SEQUENCE "foundry_preferred_projec_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "foundry_preferred_projects" (
- "foundry_project_id" integer DEFAULT nextval('foundry_preferred_projec_pk_seq'::text) NOT NULL,
- "foundry_id" integer DEFAULT '0' NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- "rank" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("foundry_project_id")
-);
-CREATE SEQUENCE "foundry_projects_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "foundry_projects" (
- "id" integer DEFAULT nextval('foundry_projects_pk_seq'::text) NOT NULL,
- "foundry_id" integer DEFAULT '0' NOT NULL,
- "project_id" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("id")
-);
-CREATE TABLE "frs_dlstats_agg" (
- "file_id" integer DEFAULT '0' NOT NULL,
- "day" integer DEFAULT '0' NOT NULL,
- "downloads_http" integer DEFAULT '0' NOT NULL,
- "downloads_ftp" integer DEFAULT '0' NOT NULL
-);
-CREATE TABLE "frs_dlstats_file_agg" (
- "file_id" integer DEFAULT '0' NOT NULL,
- "day" integer DEFAULT '0' NOT NULL,
- "downloads" integer DEFAULT '0' NOT NULL
-);
-CREATE TABLE "frs_dlstats_filetotal_agg" (
- "file_id" integer DEFAULT '0' NOT NULL,
- "downloads" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("file_id")
-);
-CREATE TABLE "frs_dlstats_filetotal_agg_old" (
- "file_id" integer DEFAULT '0' NOT NULL,
- "downloads" integer DEFAULT '0' NOT NULL
-);
-CREATE TABLE "frs_dlstats_group_agg" (
- "group_id" integer DEFAULT '0' NOT NULL,
- "day" integer DEFAULT '0' NOT NULL,
- "downloads" integer DEFAULT '0' NOT NULL
-);
-CREATE TABLE "frs_dlstats_grouptotal_agg" (
- "group_id" integer DEFAULT '0' NOT NULL,
- "downloads" integer DEFAULT '0' NOT NULL
-);
-CREATE SEQUENCE "frs_file_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "frs_file" (
- "file_id" integer DEFAULT nextval('frs_file_pk_seq'::text) NOT NULL,
- "filename" text,
- "release_id" integer DEFAULT '0' NOT NULL,
- "type_id" integer DEFAULT '0' NOT NULL,
- "processor_id" integer DEFAULT '0' NOT NULL,
- "release_time" integer DEFAULT '0' NOT NULL,
- "file_size" integer DEFAULT '0' NOT NULL,
- "post_date" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("file_id")
-);
-CREATE SEQUENCE "frs_filetype_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "frs_filetype" (
- "type_id" integer DEFAULT nextval('frs_filetype_pk_seq'::text) NOT NULL,
- "name" text,
- PRIMARY KEY ("type_id")
-);
-CREATE SEQUENCE "frs_package_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "frs_package" (
- "package_id" integer DEFAULT nextval('frs_package_pk_seq'::text) NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- "name" text,
- "status_id" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("package_id")
-);
-CREATE SEQUENCE "frs_processor_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "frs_processor" (
- "processor_id" integer DEFAULT nextval('frs_processor_pk_seq'::text) NOT NULL,
- "name" text,
- PRIMARY KEY ("processor_id")
-);
-CREATE SEQUENCE "frs_release_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "frs_release" (
- "release_id" integer DEFAULT nextval('frs_release_pk_seq'::text) NOT NULL,
- "package_id" integer DEFAULT '0' NOT NULL,
- "name" text,
- "notes" text,
- "changes" text,
- "status_id" integer DEFAULT '0' NOT NULL,
- "preformatted" integer DEFAULT '0' NOT NULL,
- "release_date" integer DEFAULT '0' NOT NULL,
- "released_by" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("release_id")
-);
-CREATE SEQUENCE "frs_status_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "frs_status" (
- "status_id" integer DEFAULT nextval('frs_status_pk_seq'::text) NOT NULL,
- "name" text,
- PRIMARY KEY ("status_id")
-);
-CREATE SEQUENCE "group_cvs_history_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "group_cvs_history" (
- "id" integer DEFAULT nextval('group_cvs_history_pk_seq'::text) NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- "user_name" character varying(80) DEFAULT '' NOT NULL,
- "cvs_commits" integer DEFAULT '0' NOT NULL,
- "cvs_commits_wk" integer DEFAULT '0' NOT NULL,
- "cvs_adds" integer DEFAULT '0' NOT NULL,
- "cvs_adds_wk" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("id")
-);
-CREATE SEQUENCE "group_history_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "group_history" (
- "group_history_id" integer DEFAULT nextval('group_history_pk_seq'::text) NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- "field_name" text DEFAULT '' NOT NULL,
- "old_value" text DEFAULT '' NOT NULL,
- "mod_by" integer DEFAULT '0' NOT NULL,
- "date" integer,
- PRIMARY KEY ("group_history_id")
-);
-CREATE SEQUENCE "group_type_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "group_type" (
- "type_id" integer DEFAULT nextval('group_type_pk_seq'::text) NOT NULL,
- "name" text,
- PRIMARY KEY ("type_id")
-);
-CREATE SEQUENCE "groups_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "groups" (
- "group_id" integer DEFAULT nextval('groups_pk_seq'::text) NOT NULL,
- "group_name" character varying(40),
- "homepage" character varying(128),
- "is_public" integer DEFAULT '0' NOT NULL,
- "status" character(1) DEFAULT 'A' NOT NULL,
- "unix_group_name" character varying(30) DEFAULT '' NOT NULL,
- "unix_box" character varying(20) DEFAULT 'shell1' NOT NULL,
- "http_domain" character varying(80),
- "short_description" character varying(255),
- "cvs_box" character varying(20) DEFAULT 'cvs1' NOT NULL,
- "license" character varying(16),
- "register_purpose" text,
- "license_other" text,
- "register_time" integer DEFAULT '0' NOT NULL,
- "use_bugs" integer DEFAULT '1' NOT NULL,
- "rand_hash" text,
- "use_mail" integer DEFAULT '1' NOT NULL,
- "use_survey" integer DEFAULT '1' NOT NULL,
- "use_patch" integer DEFAULT '1' NOT NULL,
- "use_forum" integer DEFAULT '1' NOT NULL,
- "use_pm" integer DEFAULT '1' NOT NULL,
- "use_cvs" integer DEFAULT '1' NOT NULL,
- "use_news" integer DEFAULT '1' NOT NULL,
- "use_support" integer DEFAULT '1' NOT NULL,
- "new_bug_address" text DEFAULT '' NOT NULL,
- "new_patch_address" text DEFAULT '' NOT NULL,
- "new_support_address" text DEFAULT '' NOT NULL,
- "type" integer DEFAULT '1' NOT NULL,
- "use_docman" integer DEFAULT '1' NOT NULL,
- "send_all_bugs" integer DEFAULT '0' NOT NULL,
- "send_all_patches" integer DEFAULT '0' NOT NULL,
- "send_all_support" integer DEFAULT '0' NOT NULL,
- "new_task_address" text DEFAULT '' NOT NULL,
- "send_all_tasks" integer DEFAULT '0' NOT NULL,
- "use_bug_depend_box" integer DEFAULT '1' NOT NULL,
- "use_pm_depend_box" integer DEFAULT '1' NOT NULL,
- PRIMARY KEY ("group_id")
-);
-CREATE TABLE "intel_agreement" (
- "user_id" integer DEFAULT '0' NOT NULL,
- "message" text,
- "is_approved" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("user_id")
-);
-CREATE SEQUENCE "mail_group_list_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "mail_group_list" (
- "group_list_id" integer DEFAULT nextval('mail_group_list_pk_seq'::text) NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- "list_name" text,
- "is_public" integer DEFAULT '0' NOT NULL,
- "password" character varying(16),
- "list_admin" integer DEFAULT '0' NOT NULL,
- "status" integer DEFAULT '0' NOT NULL,
- "description" text,
- PRIMARY KEY ("group_list_id")
-);
-CREATE SEQUENCE "news_bytes_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "news_bytes" (
- "id" integer DEFAULT nextval('news_bytes_pk_seq'::text) NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- "submitted_by" integer DEFAULT '0' NOT NULL,
- "is_approved" integer DEFAULT '0' NOT NULL,
- "date" integer DEFAULT '0' NOT NULL,
- "forum_id" integer DEFAULT '0' NOT NULL,
- "summary" text,
- "details" text,
- PRIMARY KEY ("id")
-);
-CREATE SEQUENCE "patch_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "patch" (
- "patch_id" integer DEFAULT nextval('patch_pk_seq'::text) NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- "patch_status_id" integer DEFAULT '0' NOT NULL,
- "patch_category_id" integer DEFAULT '0' NOT NULL,
- "submitted_by" integer DEFAULT '0' NOT NULL,
- "assigned_to" integer DEFAULT '0' NOT NULL,
- "open_date" integer DEFAULT '0' NOT NULL,
- "summary" text,
- "code" text,
- "close_date" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("patch_id")
-);
-CREATE SEQUENCE "patch_category_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "patch_category" (
- "patch_category_id" integer DEFAULT nextval('patch_category_pk_seq'::text) NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- "category_name" text DEFAULT '' NOT NULL,
- PRIMARY KEY ("patch_category_id")
-);
-CREATE SEQUENCE "patch_history_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "patch_history" (
- "patch_history_id" integer DEFAULT nextval('patch_history_pk_seq'::text) NOT NULL,
- "patch_id" integer DEFAULT '0' NOT NULL,
- "field_name" text DEFAULT '' NOT NULL,
- "old_value" text DEFAULT '' NOT NULL,
- "mod_by" integer DEFAULT '0' NOT NULL,
- "date" integer,
- PRIMARY KEY ("patch_history_id")
-);
-CREATE SEQUENCE "patch_status_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "patch_status" (
- "patch_status_id" integer DEFAULT nextval('patch_status_pk_seq'::text) NOT NULL,
- "status_name" text,
- PRIMARY KEY ("patch_status_id")
-);
-CREATE SEQUENCE "people_job_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "people_job" (
- "job_id" integer DEFAULT nextval('people_job_pk_seq'::text) NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- "created_by" integer DEFAULT '0' NOT NULL,
- "title" text,
- "description" text,
- "date" integer DEFAULT '0' NOT NULL,
- "status_id" integer DEFAULT '0' NOT NULL,
- "category_id" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("job_id")
-);
-CREATE SEQUENCE "people_job_category_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "people_job_category" (
- "category_id" integer DEFAULT nextval('people_job_category_pk_seq'::text) NOT NULL,
- "name" text,
- "private_flag" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("category_id")
-);
-CREATE SEQUENCE "people_job_inventory_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "people_job_inventory" (
- "job_inventory_id" integer DEFAULT nextval('people_job_inventory_pk_seq'::text) NOT NULL,
- "job_id" integer DEFAULT '0' NOT NULL,
- "skill_id" integer DEFAULT '0' NOT NULL,
- "skill_level_id" integer DEFAULT '0' NOT NULL,
- "skill_year_id" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("job_inventory_id")
-);
-CREATE SEQUENCE "people_job_status_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "people_job_status" (
- "status_id" integer DEFAULT nextval('people_job_status_pk_seq'::text) NOT NULL,
- "name" text,
- PRIMARY KEY ("status_id")
-);
-CREATE SEQUENCE "people_skill_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "people_skill" (
- "skill_id" integer DEFAULT nextval('people_skill_pk_seq'::text) NOT NULL,
- "name" text,
- PRIMARY KEY ("skill_id")
-);
-CREATE SEQUENCE "people_skill_inventory_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "people_skill_inventory" (
- "skill_inventory_id" integer DEFAULT nextval('people_skill_inventory_pk_seq'::text) NOT NULL,
- "user_id" integer DEFAULT '0' NOT NULL,
- "skill_id" integer DEFAULT '0' NOT NULL,
- "skill_level_id" integer DEFAULT '0' NOT NULL,
- "skill_year_id" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("skill_inventory_id")
-);
-CREATE SEQUENCE "people_skill_level_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "people_skill_level" (
- "skill_level_id" integer DEFAULT nextval('people_skill_level_pk_seq'::text) NOT NULL,
- "name" text,
- PRIMARY KEY ("skill_level_id")
-);
-CREATE SEQUENCE "people_skill_year_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "people_skill_year" (
- "skill_year_id" integer DEFAULT nextval('people_skill_year_pk_seq'::text) NOT NULL,
- "name" text,
- PRIMARY KEY ("skill_year_id")
-);
-CREATE SEQUENCE "project_assigned_to_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "project_assigned_to" (
- "project_assigned_id" integer DEFAULT nextval('project_assigned_to_pk_seq'::text) NOT NULL,
- "project_task_id" integer DEFAULT '0' NOT NULL,
- "assigned_to_id" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("project_assigned_id")
-);
-CREATE TABLE "project_counts_tmp" (
- "group_id" integer,
- "type" text,
- "count" double precision
-);
-CREATE TABLE "project_counts_weekly_tmp" (
- "group_id" integer,
- "type" text,
- "count" double precision
-);
-CREATE SEQUENCE "project_dependencies_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "project_dependencies" (
- "project_depend_id" integer DEFAULT nextval('project_dependencies_pk_seq'::text) NOT NULL,
- "project_task_id" integer DEFAULT '0' NOT NULL,
- "is_dependent_on_task_id" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("project_depend_id")
-);
-CREATE SEQUENCE "project_group_list_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "project_group_list" (
- "group_project_id" integer DEFAULT nextval('project_group_list_pk_seq'::text) NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- "project_name" text DEFAULT '' NOT NULL,
- "is_public" integer DEFAULT '0' NOT NULL,
- "description" text,
- PRIMARY KEY ("group_project_id")
-);
-CREATE SEQUENCE "project_history_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "project_history" (
- "project_history_id" integer DEFAULT nextval('project_history_pk_seq'::text) NOT NULL,
- "project_task_id" integer DEFAULT '0' NOT NULL,
- "field_name" text DEFAULT '' NOT NULL,
- "old_value" text DEFAULT '' NOT NULL,
- "mod_by" integer DEFAULT '0' NOT NULL,
- "date" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("project_history_id")
-);
-CREATE SEQUENCE "project_metric_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "project_metric" (
- "ranking" integer DEFAULT nextval('project_metric_pk_seq'::text) NOT NULL,
- "percentile" double precision,
- "group_id" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("ranking")
-);
-CREATE SEQUENCE "project_metric_tmp1_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "project_metric_tmp1" (
- "ranking" integer DEFAULT nextval('project_metric_tmp1_pk_seq'::text) NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- "value" double precision,
- PRIMARY KEY ("ranking")
-);
-CREATE SEQUENCE "project_metric_weekly_tm_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "project_metric_weekly_tmp1" (
- "ranking" integer DEFAULT nextval('project_metric_weekly_tm_pk_seq'::text) NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- "value" double precision,
- PRIMARY KEY ("ranking")
-);
-CREATE SEQUENCE "project_status_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "project_status" (
- "status_id" integer DEFAULT nextval('project_status_pk_seq'::text) NOT NULL,
- "status_name" text DEFAULT '' NOT NULL,
- PRIMARY KEY ("status_id")
-);
-CREATE SEQUENCE "project_task_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "project_task" (
- "project_task_id" integer DEFAULT nextval('project_task_pk_seq'::text) NOT NULL,
- "group_project_id" integer DEFAULT '0' NOT NULL,
- "summary" text DEFAULT '' NOT NULL,
- "details" text DEFAULT '' NOT NULL,
- "percent_complete" integer DEFAULT '0' NOT NULL,
- "priority" integer DEFAULT '0' NOT NULL,
- "hours" double precision DEFAULT '0.00' NOT NULL,
- "start_date" integer DEFAULT '0' NOT NULL,
- "end_date" integer DEFAULT '0' NOT NULL,
- "created_by" integer DEFAULT '0' NOT NULL,
- "status_id" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("project_task_id")
-);
-CREATE SEQUENCE "project_weekly_metric_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "project_weekly_metric" (
- "ranking" integer DEFAULT nextval('project_weekly_metric_pk_seq'::text) NOT NULL,
- "percentile" double precision,
- "group_id" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("ranking")
-);
-CREATE TABLE "session" (
- "user_id" integer DEFAULT '0' NOT NULL,
- "session_hash" character(32) DEFAULT '' NOT NULL,
- "ip_addr" character(15) DEFAULT '' NOT NULL,
- "time" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("session_hash")
-);
-CREATE SEQUENCE "snippet_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "snippet" (
- "snippet_id" integer DEFAULT nextval('snippet_pk_seq'::text) NOT NULL,
- "created_by" integer DEFAULT '0' NOT NULL,
- "name" text,
- "description" text,
- "type" integer DEFAULT '0' NOT NULL,
- "language" integer DEFAULT '0' NOT NULL,
- "license" text DEFAULT '' NOT NULL,
- "category" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("snippet_id")
-);
-CREATE SEQUENCE "snippet_package_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "snippet_package" (
- "snippet_package_id" integer DEFAULT nextval('snippet_package_pk_seq'::text) NOT NULL,
- "created_by" integer DEFAULT '0' NOT NULL,
- "name" text,
- "description" text,
- "category" integer DEFAULT '0' NOT NULL,
- "language" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("snippet_package_id")
-);
-CREATE SEQUENCE "snippet_package_item_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "snippet_package_item" (
- "snippet_package_item_id" integer DEFAULT nextval('snippet_package_item_pk_seq'::text) NOT NULL,
- "snippet_package_version_id" integer DEFAULT '0' NOT NULL,
- "snippet_version_id" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("snippet_package_item_id")
-);
-CREATE SEQUENCE "snippet_package_version_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "snippet_package_version" (
- "snippet_package_version_id" integer DEFAULT nextval('snippet_package_version_pk_seq'::text) NOT NULL,
- "snippet_package_id" integer DEFAULT '0' NOT NULL,
- "changes" text,
- "version" text,
- "submitted_by" integer DEFAULT '0' NOT NULL,
- "date" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("snippet_package_version_id")
-);
-CREATE SEQUENCE "snippet_version_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "snippet_version" (
- "snippet_version_id" integer DEFAULT nextval('snippet_version_pk_seq'::text) NOT NULL,
- "snippet_id" integer DEFAULT '0' NOT NULL,
- "changes" text,
- "version" text,
- "submitted_by" integer DEFAULT '0' NOT NULL,
- "date" integer DEFAULT '0' NOT NULL,
- "code" text,
- PRIMARY KEY ("snippet_version_id")
-);
-CREATE TABLE "stats_agg_logo_by_day" (
- "day" integer,
- "count" integer
-);
-CREATE TABLE "stats_agg_logo_by_group" (
- "day" integer,
- "group_id" integer,
- "count" integer
-);
-CREATE TABLE "stats_agg_pages_by_browser" (
- "browser" character varying(8),
- "count" integer
-);
-CREATE TABLE "stats_agg_pages_by_day" (
- "day" integer DEFAULT '0' NOT NULL,
- "count" integer DEFAULT '0' NOT NULL
-);
-CREATE TABLE "stats_agg_pages_by_day_old" (
- "day" integer,
- "count" integer
-);
-CREATE TABLE "stats_agg_site_by_day" (
- "day" integer DEFAULT '0' NOT NULL,
- "count" integer DEFAULT '0' NOT NULL
-);
-CREATE TABLE "stats_agg_site_by_group" (
- "day" integer DEFAULT '0' NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- "count" integer DEFAULT '0' NOT NULL
-);
-CREATE TABLE "stats_agr_filerelease" (
- "filerelease_id" integer DEFAULT '0' NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- "downloads" integer DEFAULT '0' NOT NULL
-);
-CREATE TABLE "stats_agr_project" (
- "group_id" integer DEFAULT '0' NOT NULL,
- "group_ranking" integer DEFAULT '0' NOT NULL,
- "group_metric" double precision DEFAULT '0.00000' NOT NULL,
- "developers" integer DEFAULT '0' NOT NULL,
- "file_releases" integer DEFAULT '0' NOT NULL,
- "downloads" integer DEFAULT '0' NOT NULL,
- "site_views" integer DEFAULT '0' NOT NULL,
- "logo_views" integer DEFAULT '0' NOT NULL,
- "msg_posted" integer DEFAULT '0' NOT NULL,
- "msg_uniq_auth" integer DEFAULT '0' NOT NULL,
- "bugs_opened" integer DEFAULT '0' NOT NULL,
- "bugs_closed" integer DEFAULT '0' NOT NULL,
- "support_opened" integer DEFAULT '0' NOT NULL,
- "support_closed" integer DEFAULT '0' NOT NULL,
- "patches_opened" integer DEFAULT '0' NOT NULL,
- "patches_closed" integer DEFAULT '0' NOT NULL,
- "tasks_opened" integer DEFAULT '0' NOT NULL,
- "tasks_closed" integer DEFAULT '0' NOT NULL,
- "help_requests" integer DEFAULT '0' NOT NULL,
- "cvs_checkouts" integer DEFAULT '0' NOT NULL,
- "cvs_commits" integer DEFAULT '0' NOT NULL,
- "cvs_adds" integer DEFAULT '0' NOT NULL
-);
-CREATE TABLE "stats_ftp_downloads" (
- "day" integer DEFAULT '0' NOT NULL,
- "filerelease_id" integer DEFAULT '0' NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- "downloads" integer DEFAULT '0' NOT NULL
-);
-CREATE TABLE "stats_http_downloads" (
- "day" integer DEFAULT '0' NOT NULL,
- "filerelease_id" integer DEFAULT '0' NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- "downloads" integer DEFAULT '0' NOT NULL
-);
-CREATE TABLE "stats_project" (
- "month" integer DEFAULT '0' NOT NULL,
- "week" integer DEFAULT '0' NOT NULL,
- "day" integer DEFAULT '0' NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- "group_ranking" integer DEFAULT '0' NOT NULL,
- "group_metric" double precision DEFAULT '0.00000' NOT NULL,
- "developers" integer DEFAULT '0' NOT NULL,
- "file_releases" integer DEFAULT '0' NOT NULL,
- "downloads" integer DEFAULT '0' NOT NULL,
- "site_views" integer DEFAULT '0' NOT NULL,
- "subdomain_views" integer DEFAULT '0' NOT NULL,
- "msg_posted" integer DEFAULT '0' NOT NULL,
- "msg_uniq_auth" integer DEFAULT '0' NOT NULL,
- "bugs_opened" integer DEFAULT '0' NOT NULL,
- "bugs_closed" integer DEFAULT '0' NOT NULL,
- "support_opened" integer DEFAULT '0' NOT NULL,
- "support_closed" integer DEFAULT '0' NOT NULL,
- "patches_opened" integer DEFAULT '0' NOT NULL,
- "patches_closed" integer DEFAULT '0' NOT NULL,
- "tasks_opened" integer DEFAULT '0' NOT NULL,
- "tasks_closed" integer DEFAULT '0' NOT NULL,
- "help_requests" integer DEFAULT '0' NOT NULL,
- "cvs_checkouts" integer DEFAULT '0' NOT NULL,
- "cvs_commits" integer DEFAULT '0' NOT NULL,
- "cvs_adds" integer DEFAULT '0' NOT NULL
-);
-CREATE TABLE "stats_project_tmp" (
- "month" integer DEFAULT '0' NOT NULL,
- "week" integer DEFAULT '0' NOT NULL,
- "day" integer DEFAULT '0' NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- "group_ranking" integer DEFAULT '0' NOT NULL,
- "group_metric" double precision DEFAULT '0.00000' NOT NULL,
- "developers" integer DEFAULT '0' NOT NULL,
- "file_releases" integer DEFAULT '0' NOT NULL,
- "downloads" integer DEFAULT '0' NOT NULL,
- "site_views" integer DEFAULT '0' NOT NULL,
- "subdomain_views" integer DEFAULT '0' NOT NULL,
- "msg_posted" integer DEFAULT '0' NOT NULL,
- "msg_uniq_auth" integer DEFAULT '0' NOT NULL,
- "bugs_opened" integer DEFAULT '0' NOT NULL,
- "bugs_closed" integer DEFAULT '0' NOT NULL,
- "support_opened" integer DEFAULT '0' NOT NULL,
- "support_closed" integer DEFAULT '0' NOT NULL,
- "patches_opened" integer DEFAULT '0' NOT NULL,
- "patches_closed" integer DEFAULT '0' NOT NULL,
- "tasks_opened" integer DEFAULT '0' NOT NULL,
- "tasks_closed" integer DEFAULT '0' NOT NULL,
- "help_requests" integer DEFAULT '0' NOT NULL,
- "cvs_checkouts" integer DEFAULT '0' NOT NULL,
- "cvs_commits" integer DEFAULT '0' NOT NULL,
- "cvs_adds" integer DEFAULT '0' NOT NULL
-);
-CREATE TABLE "stats_site" (
- "month" integer DEFAULT '0' NOT NULL,
- "week" integer DEFAULT '0' NOT NULL,
- "day" integer DEFAULT '0' NOT NULL,
- "site_views" integer DEFAULT '0' NOT NULL,
- "subdomain_views" integer DEFAULT '0' NOT NULL,
- "downloads" integer DEFAULT '0' NOT NULL,
- "uniq_users" integer DEFAULT '0' NOT NULL,
- "sessions" integer DEFAULT '0' NOT NULL,
- "total_users" integer DEFAULT '0' NOT NULL,
- "new_users" integer DEFAULT '0' NOT NULL,
- "new_projects" integer DEFAULT '0' NOT NULL
-);
-CREATE SEQUENCE "support_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "support" (
- "support_id" integer DEFAULT nextval('support_pk_seq'::text) NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- "support_status_id" integer DEFAULT '0' NOT NULL,
- "support_category_id" integer DEFAULT '0' NOT NULL,
- "priority" integer DEFAULT '0' NOT NULL,
- "submitted_by" integer DEFAULT '0' NOT NULL,
- "assigned_to" integer DEFAULT '0' NOT NULL,
- "open_date" integer DEFAULT '0' NOT NULL,
- "summary" text,
- "close_date" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("support_id")
-);
-CREATE SEQUENCE "support_canned_responses_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "support_canned_responses" (
- "support_canned_id" integer DEFAULT nextval('support_canned_responses_pk_seq'::text) NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- "title" text,
- "body" text,
- PRIMARY KEY ("support_canned_id")
-);
-CREATE SEQUENCE "support_category_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "support_category" (
- "support_category_id" integer DEFAULT nextval('support_category_pk_seq'::text) NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- "category_name" text DEFAULT '' NOT NULL,
- PRIMARY KEY ("support_category_id")
-);
-CREATE SEQUENCE "support_history_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "support_history" (
- "support_history_id" integer DEFAULT nextval('support_history_pk_seq'::text) NOT NULL,
- "support_id" integer DEFAULT '0' NOT NULL,
- "field_name" text DEFAULT '' NOT NULL,
- "old_value" text DEFAULT '' NOT NULL,
- "mod_by" integer DEFAULT '0' NOT NULL,
- "date" integer,
- PRIMARY KEY ("support_history_id")
-);
-CREATE SEQUENCE "support_messages_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "support_messages" (
- "support_message_id" integer DEFAULT nextval('support_messages_pk_seq'::text) NOT NULL,
- "support_id" integer DEFAULT '0' NOT NULL,
- "from_email" text,
- "date" integer DEFAULT '0' NOT NULL,
- "body" text,
- PRIMARY KEY ("support_message_id")
-);
-CREATE SEQUENCE "support_status_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "support_status" (
- "support_status_id" integer DEFAULT nextval('support_status_pk_seq'::text) NOT NULL,
- "status_name" text,
- PRIMARY KEY ("support_status_id")
-);
-CREATE SEQUENCE "supported_languages_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "supported_languages" (
- "language_id" integer DEFAULT nextval('supported_languages_pk_seq'::text) NOT NULL,
- "name" text,
- "filename" text,
- "classname" text,
- "language_code" character(2),
- PRIMARY KEY ("language_id")
-);
-CREATE SEQUENCE "survey_question_types_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "survey_question_types" (
- "id" integer DEFAULT nextval('survey_question_types_pk_seq'::text) NOT NULL,
- "type" text DEFAULT '' NOT NULL,
- PRIMARY KEY ("id")
-);
-CREATE SEQUENCE "survey_questions_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "survey_questions" (
- "question_id" integer DEFAULT nextval('survey_questions_pk_seq'::text) NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- "question" text DEFAULT '' NOT NULL,
- "question_type" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("question_id")
-);
-CREATE TABLE "survey_rating_aggregate" (
- "type" integer DEFAULT '0' NOT NULL,
- "id" integer DEFAULT '0' NOT NULL,
- "response" double precision DEFAULT '0' NOT NULL,
- "count" integer DEFAULT '0' NOT NULL
-);
-CREATE TABLE "survey_rating_response" (
- "user_id" integer DEFAULT '0' NOT NULL,
- "type" integer DEFAULT '0' NOT NULL,
- "id" integer DEFAULT '0' NOT NULL,
- "response" integer DEFAULT '0' NOT NULL,
- "date" integer DEFAULT '0' NOT NULL
-);
-CREATE TABLE "survey_responses" (
- "user_id" integer DEFAULT '0' NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- "survey_id" integer DEFAULT '0' NOT NULL,
- "question_id" integer DEFAULT '0' NOT NULL,
- "response" text DEFAULT '' NOT NULL,
- "date" integer DEFAULT '0' NOT NULL
-);
-CREATE SEQUENCE "surveys_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "surveys" (
- "survey_id" integer DEFAULT nextval('surveys_pk_seq'::text) NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- "survey_title" text DEFAULT '' NOT NULL,
- "survey_questions" text DEFAULT '' NOT NULL,
- "is_active" integer DEFAULT '1' NOT NULL,
- PRIMARY KEY ("survey_id")
-);
-CREATE SEQUENCE "system_history_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE SEQUENCE "system_machines_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE SEQUENCE "system_news_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE SEQUENCE "system_services_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE SEQUENCE "system_status_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "theme_prefs" (
- "user_id" integer DEFAULT '0' NOT NULL,
- "user_theme" integer DEFAULT '0' NOT NULL,
- "body_font" character(80) DEFAULT '',
- "body_size" character(5) DEFAULT '',
- "titlebar_font" character(80) DEFAULT '',
- "titlebar_size" character(5) DEFAULT '',
- "color_titlebar_back" character(7) DEFAULT '',
- "color_ltback1" character(7) DEFAULT '',
- PRIMARY KEY ("user_id")
-);
-CREATE SEQUENCE "themes_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "themes" (
- "theme_id" integer DEFAULT nextval('themes_pk_seq'::text) NOT NULL,
- "dirname" character varying(80),
- "fullname" character varying(80),
- PRIMARY KEY ("theme_id")
-);
-CREATE TABLE "tmp_projs_releases_tmp" (
- "year" integer DEFAULT '0' NOT NULL,
- "month" integer DEFAULT '0' NOT NULL,
- "total_proj" integer DEFAULT '0' NOT NULL,
- "total_releases" integer DEFAULT '0' NOT NULL
-);
-CREATE TABLE "top_group" (
- "group_id" integer DEFAULT '0' NOT NULL,
- "group_name" character varying(40),
- "downloads_all" integer DEFAULT '0' NOT NULL,
- "rank_downloads_all" integer DEFAULT '0' NOT NULL,
- "rank_downloads_all_old" integer DEFAULT '0' NOT NULL,
- "downloads_week" integer DEFAULT '0' NOT NULL,
- "rank_downloads_week" integer DEFAULT '0' NOT NULL,
- "rank_downloads_week_old" integer DEFAULT '0' NOT NULL,
- "userrank" integer DEFAULT '0' NOT NULL,
- "rank_userrank" integer DEFAULT '0' NOT NULL,
- "rank_userrank_old" integer DEFAULT '0' NOT NULL,
- "forumposts_week" integer DEFAULT '0' NOT NULL,
- "rank_forumposts_week" integer DEFAULT '0' NOT NULL,
- "rank_forumposts_week_old" integer DEFAULT '0' NOT NULL,
- "pageviews_proj" integer DEFAULT '0' NOT NULL,
- "rank_pageviews_proj" integer DEFAULT '0' NOT NULL,
- "rank_pageviews_proj_old" integer DEFAULT '0' NOT NULL
-);
-CREATE SEQUENCE "trove_cat_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "trove_cat" (
- "trove_cat_id" integer DEFAULT nextval('trove_cat_pk_seq'::text) NOT NULL,
- "version" integer DEFAULT '0' NOT NULL,
- "parent" integer DEFAULT '0' NOT NULL,
- "root_parent" integer DEFAULT '0' NOT NULL,
- "shortname" character varying(80),
- "fullname" character varying(80),
- "description" character varying(255),
- "count_subcat" integer DEFAULT '0' NOT NULL,
- "count_subproj" integer DEFAULT '0' NOT NULL,
- "fullpath" text DEFAULT '' NOT NULL,
- "fullpath_ids" text,
- PRIMARY KEY ("trove_cat_id")
-);
-CREATE SEQUENCE "trove_group_link_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "trove_group_link" (
- "trove_group_id" integer DEFAULT nextval('trove_group_link_pk_seq'::text) NOT NULL,
- "trove_cat_id" integer DEFAULT '0' NOT NULL,
- "trove_cat_version" integer DEFAULT '0' NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- "trove_cat_root" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("trove_group_id")
-);
-CREATE SEQUENCE "trove_treesums_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "trove_treesums" (
- "trove_treesums_id" integer DEFAULT nextval('trove_treesums_pk_seq'::text) NOT NULL,
- "trove_cat_id" integer DEFAULT '0' NOT NULL,
- "limit_1" integer DEFAULT '0' NOT NULL,
- "subprojects" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("trove_treesums_id")
-);
-CREATE SEQUENCE "user_bookmarks_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "user_bookmarks" (
- "bookmark_id" integer DEFAULT nextval('user_bookmarks_pk_seq'::text) NOT NULL,
- "user_id" integer DEFAULT '0' NOT NULL,
- "bookmark_url" text,
- "bookmark_title" text,
- PRIMARY KEY ("bookmark_id")
-);
-CREATE SEQUENCE "user_diary_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "user_diary" (
- "id" integer DEFAULT nextval('user_diary_pk_seq'::text) NOT NULL,
- "user_id" integer DEFAULT '0' NOT NULL,
- "date_posted" integer DEFAULT '0' NOT NULL,
- "summary" text,
- "details" text,
- "is_public" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("id")
-);
-CREATE SEQUENCE "user_diary_monitor_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "user_diary_monitor" (
- "monitor_id" integer DEFAULT nextval('user_diary_monitor_pk_seq'::text) NOT NULL,
- "monitored_user" integer DEFAULT '0' NOT NULL,
- "user_id" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("monitor_id")
-);
-CREATE SEQUENCE "user_group_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "user_group" (
- "user_group_id" integer DEFAULT nextval('user_group_pk_seq'::text) NOT NULL,
- "user_id" integer DEFAULT '0' NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- "admin_flags" character(16) DEFAULT '' NOT NULL,
- "bug_flags" integer DEFAULT '0' NOT NULL,
- "forum_flags" integer DEFAULT '0' NOT NULL,
- "project_flags" integer DEFAULT '2' NOT NULL,
- "patch_flags" integer DEFAULT '1' NOT NULL,
- "support_flags" integer DEFAULT '1' NOT NULL,
- "doc_flags" integer DEFAULT '0' NOT NULL,
- "cvs_flags" integer DEFAULT '1' NOT NULL,
- "member_role" integer DEFAULT '100' NOT NULL,
- "release_flags" integer DEFAULT '0' NOT NULL,
- PRIMARY KEY ("user_group_id")
-);
-CREATE SEQUENCE "user_metric_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "user_metric" (
- "ranking" integer DEFAULT nextval('user_metric_pk_seq'::text) NOT NULL,
- "user_id" integer DEFAULT '0' NOT NULL,
- "times_ranked" integer DEFAULT '0' NOT NULL,
- "avg_raters_importance" double precision DEFAULT '0.00000000' NOT NULL,
- "avg_rating" double precision DEFAULT '0.00000000' NOT NULL,
- "metric" double precision DEFAULT '0.00000000' NOT NULL,
- "percentile" double precision DEFAULT '0.00000000' NOT NULL,
- "importance_factor" double precision DEFAULT '0.00000000' NOT NULL,
- PRIMARY KEY ("ranking")
-);
-CREATE SEQUENCE "user_metric0_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "user_metric0" (
- "ranking" integer DEFAULT nextval('user_metric0_pk_seq'::text) NOT NULL,
- "user_id" integer DEFAULT '0' NOT NULL,
- "times_ranked" integer DEFAULT '0' NOT NULL,
- "avg_raters_importance" double precision DEFAULT '0.00000000' NOT NULL,
- "avg_rating" double precision DEFAULT '0.00000000' NOT NULL,
- "metric" double precision DEFAULT '0.00000000' NOT NULL,
- "percentile" double precision DEFAULT '0.00000000' NOT NULL,
- "importance_factor" double precision DEFAULT '0.00000000' NOT NULL,
- PRIMARY KEY ("ranking")
-);
-CREATE TABLE "user_preferences" (
- "user_id" integer DEFAULT '0' NOT NULL,
- "preference_name" character varying(20),
- "preference_value" character varying(20),
- "set_date" integer DEFAULT '0' NOT NULL
-);
-CREATE TABLE "user_ratings" (
- "rated_by" integer DEFAULT '0' NOT NULL,
- "user_id" integer DEFAULT '0' NOT NULL,
- "rate_field" integer DEFAULT '0' NOT NULL,
- "rating" integer DEFAULT '0' NOT NULL
-);
-CREATE SEQUENCE "users_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "users" (
- "user_id" integer DEFAULT nextval('users_pk_seq'::text) NOT NULL,
- "user_name" text DEFAULT '' NOT NULL,
- "email" text DEFAULT '' NOT NULL,
- "user_pw" character varying(32) DEFAULT '' NOT NULL,
- "realname" character varying(32) DEFAULT '' NOT NULL,
- "status" character(1) DEFAULT 'A' NOT NULL,
- "shell" character varying(20) DEFAULT '/bin/bash' NOT NULL,
- "unix_pw" character varying(40) DEFAULT '' NOT NULL,
- "unix_status" character(1) DEFAULT 'N' NOT NULL,
- "unix_uid" integer DEFAULT '0' NOT NULL,
- "unix_box" character varying(10) DEFAULT 'shell1' NOT NULL,
- "add_date" integer DEFAULT '0' NOT NULL,
- "confirm_hash" character varying(32),
- "mail_siteupdates" integer DEFAULT '0' NOT NULL,
- "mail_va" integer DEFAULT '0' NOT NULL,
- "authorized_keys" text,
- "email_new" text,
- "people_view_skills" integer DEFAULT '0' NOT NULL,
- "people_resume" text DEFAULT '' NOT NULL,
- "timezone" character varying(64) DEFAULT 'GMT',
- "language" integer DEFAULT '1' NOT NULL,
- PRIMARY KEY ("user_id")
-);
-CREATE SEQUENCE "unix_uid_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE SEQUENCE "forum_thread_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "trove_agg" (
- "trove_cat_id" integer,
- "group_id" integer,
- "group_name" character varying(40),
- "unix_group_name" character varying(30),
- "status" character(1),
- "register_time" integer,
- "short_description" character varying(255),
- "percentile" double precision,
- "ranking" integer
-);
-CREATE TABLE "activity_log" (
- "day" integer DEFAULT '0' NOT NULL,
- "hour" integer DEFAULT '0' NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- "browser" character varying(8) DEFAULT 'OTHER' NOT NULL,
- "ver" double precision DEFAULT '0.00' NOT NULL,
- "platform" character varying(8) DEFAULT 'OTHER' NOT NULL,
- "time" integer DEFAULT '0' NOT NULL,
- "page" text,
- "type" integer DEFAULT '0' NOT NULL
-);
-CREATE TABLE "activity_log_old" (
- "day" integer DEFAULT '0' NOT NULL,
- "hour" integer DEFAULT '0' NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- "browser" character varying(8) DEFAULT 'OTHER' NOT NULL,
- "ver" double precision DEFAULT '0.00' NOT NULL,
- "platform" character varying(8) DEFAULT 'OTHER' NOT NULL,
- "time" integer DEFAULT '0' NOT NULL,
- "page" text,
- "type" integer DEFAULT '0' NOT NULL
-);
-CREATE TABLE "activity_log_old_old" (
- "day" integer DEFAULT '0' NOT NULL,
- "hour" integer DEFAULT '0' NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- "browser" character varying(8) DEFAULT 'OTHER' NOT NULL,
- "ver" double precision DEFAULT '0.00' NOT NULL,
- "platform" character varying(8) DEFAULT 'OTHER' NOT NULL,
- "time" integer DEFAULT '0' NOT NULL,
- "page" text,
- "type" integer DEFAULT '0' NOT NULL
-);
-CREATE INDEX "bug_group_id" on "bug" using btree ( "group_id" "int4_ops" );
-CREATE INDEX "bug_groupid_statusid" on "bug" using btree ( "group_id" "int4_ops", "status_id" "int4_ops" );
-CREATE INDEX "bug_groupid_assignedto_statusid" on "bug" using btree ( "group_id" "int4_ops", "assigned_to" "int4_ops", "status_id" "int4_ops" );
-CREATE INDEX "bug_bug_dependencies_bug_id" on "bug_bug_dependencies" using btree ( "bug_id" "int4_ops" );
-CREATE INDEX "bug_bug_is_dependent_on_task_id" on "bug_bug_dependencies" using btree ( "is_dependent_on_bug_id" "int4_ops" );
-CREATE INDEX "bug_canned_response_group_id" on "bug_canned_responses" using btree ( "group_id" "int4_ops" );
-CREATE INDEX "bug_category_group_id" on "bug_category" using btree ( "group_id" "int4_ops" );
-CREATE INDEX "bug_group_group_id" on "bug_group" using btree ( "group_id" "int4_ops" );
-CREATE INDEX "bug_history_bug_id" on "bug_history" using btree ( "bug_id" "int4_ops" );
-CREATE INDEX "bug_task_dependencies_bug_id" on "bug_task_dependencies" using btree ( "bug_id" "int4_ops" );
-CREATE INDEX "bug_task_is_dependent_on_task_i" on "bug_task_dependencies" using btree ( "is_dependent_on_task_id" "int4_ops" );
-CREATE INDEX "db_images_group" on "db_images" using btree ( "group_id" "int4_ops" );
-CREATE INDEX "doc_group_doc_group" on "doc_data" using btree ( "doc_group" "int4_ops" );
-CREATE INDEX "doc_groups_group" on "doc_groups" using btree ( "group_id" "int4_ops" );
-CREATE INDEX "filemodule_monitor_id" on "filemodule_monitor" using btree ( "filemodule_id" "int4_ops" );
-CREATE INDEX "forum_forumid_msgid" on "forum" using btree ( "group_forum_id" "int4_ops", "msg_id" "int4_ops" );
-CREATE INDEX "forum_group_forum_id" on "forum" using btree ( "group_forum_id" "int4_ops" );
-CREATE INDEX "forum_forumid_isfollowupto" on "forum" using btree ( "group_forum_id" "int4_ops", "is_followup_to" "int4_ops" );
-CREATE INDEX "forum_forumid_threadid_mostrece" on "forum" using btree ( "group_forum_id" "int4_ops", "thread_id" "int4_ops", "most_recent_date" "int4_ops" );
-CREATE INDEX "forum_threadid_isfollowupto" on "forum" using btree ( "thread_id" "int4_ops", "is_followup_to" "int4_ops" );
-CREATE INDEX "forum_forumid_isfollto_mostrece" on "forum" using btree ( "group_forum_id" "int4_ops", "is_followup_to" "int4_ops", "most_recent_date" "int4_ops" );
-CREATE INDEX "forum_group_list_group_id" on "forum_group_list" using btree ( "group_id" "int4_ops" );
-CREATE INDEX "forum_monitor_combo_id" on "forum_monitored_forums" using btree ( "forum_id" "int4_ops", "user_id" "int4_ops" );
-CREATE INDEX "forum_monitor_thread_id" on "forum_monitored_forums" using btree ( "forum_id" "int4_ops" );
-CREATE INDEX "foundry_news_foundry_approved_d" on "foundry_news" using btree ( "foundry_id" "int4_ops", "is_approved" "int4_ops", "approve_date" "int4_ops" );
-CREATE INDEX "foundry_news_foundry_approved" on "foundry_news" using btree ( "foundry_id" "int4_ops", "is_approved" "int4_ops" );
-CREATE INDEX "foundry_news_foundry" on "foundry_news" using btree ( "foundry_id" "int4_ops" );
-CREATE INDEX "foundrynews_foundry_date_approv" on "foundry_news" using btree ( "foundry_id" "int4_ops", "approve_date" "int4_ops", "is_approved" "int4_ops" );
-CREATE INDEX "foundry_project_group_rank" on "foundry_preferred_projects" using btree ( "group_id" "int4_ops", "rank" "int4_ops" );
-CREATE INDEX "foundry_project_group" on "foundry_preferred_projects" using btree ( "group_id" "int4_ops" );
-CREATE INDEX "foundry_projects_foundry" on "foundry_projects" using btree ( "foundry_id" "int4_ops" );
-CREATE INDEX "downloads_http_idx" on "frs_dlstats_agg" using btree ( "downloads_http" "int4_ops" );
-CREATE INDEX "downloads_ftp_idx" on "frs_dlstats_agg" using btree ( "downloads_ftp" "int4_ops" );
-CREATE INDEX "file_id_idx" on "frs_dlstats_agg" using btree ( "file_id" "int4_ops" );
-CREATE INDEX "day_idx" on "frs_dlstats_agg" using btree ( "day" "int4_ops" );
-CREATE INDEX "dlstats_file_down" on "frs_dlstats_file_agg" using btree ( "downloads" "int4_ops" );
-CREATE INDEX "dlstats_file_file_id" on "frs_dlstats_file_agg" using btree ( "file_id" "int4_ops" );
-CREATE INDEX "dlstats_file_day" on "frs_dlstats_file_agg" using btree ( "day" "int4_ops" );
-CREATE INDEX "stats_agr_tmp_fid" on "frs_dlstats_filetotal_agg" using btree ( "file_id" "int4_ops" );
-CREATE INDEX "frs_dlstats_filetotal_agg_old_f" on "frs_dlstats_filetotal_agg_old" using btree ( "file_id" "int4_ops" );
-CREATE INDEX "frsdlstatsgroupagg_day_dls" on "frs_dlstats_group_agg" using btree ( "day" "int4_ops", "downloads" "int4_ops" );
-CREATE INDEX "group_id_idx" on "frs_dlstats_group_agg" using btree ( "group_id" "int4_ops" );
-CREATE INDEX "frs_dlstats_group_agg_day" on "frs_dlstats_group_agg" using btree ( "day" "int4_ops" );
-CREATE INDEX "stats_agr_tmp_gid" on "frs_dlstats_grouptotal_agg" using btree ( "group_id" "int4_ops" );
-CREATE INDEX "frs_file_name" on "frs_file" using btree ( "filename" "text_ops" );
-CREATE INDEX "frs_file_date" on "frs_file" using btree ( "post_date" "int4_ops" );
-CREATE INDEX "frs_file_processor" on "frs_file" using btree ( "processor_id" "int4_ops" );
-CREATE INDEX "frs_file_release_id" on "frs_file" using btree ( "release_id" "int4_ops" );
-CREATE INDEX "frs_file_type" on "frs_file" using btree ( "type_id" "int4_ops" );
-CREATE INDEX "package_group_id" on "frs_package" using btree ( "group_id" "int4_ops" );
-CREATE INDEX "frs_release_package" on "frs_release" using btree ( "package_id" "int4_ops" );
-CREATE INDEX "frs_release_date" on "frs_release" using btree ( "release_date" "int4_ops" );
-CREATE INDEX "frs_release_by" on "frs_release" using btree ( "released_by" "int4_ops" );
-CREATE INDEX "group_cvs_history_group_id" on "group_cvs_history" using btree ( "group_id" "int4_ops" );
-CREATE INDEX "user_name_idx" on "group_cvs_history" using btree ( "user_name" "varchar_ops" );
-CREATE INDEX "group_history_group_id" on "group_history" using btree ( "group_id" "int4_ops" );
-CREATE INDEX "groups_unix" on "groups" using btree ( "unix_group_name" "varchar_ops" );
-CREATE INDEX "groups_type" on "groups" using btree ( "type" "int4_ops" );
-CREATE INDEX "groups_public" on "groups" using btree ( "is_public" "int4_ops" );
-CREATE INDEX "groups_status" on "groups" using btree ( "status" "bpchar_ops" );
-CREATE INDEX "mail_group_list_group" on "mail_group_list" using btree ( "group_id" "int4_ops" );
-CREATE INDEX "news_bytes_group" on "news_bytes" using btree ( "group_id" "int4_ops" );
-CREATE INDEX "news_bytes_approved" on "news_bytes" using btree ( "is_approved" "int4_ops" );
-CREATE INDEX "news_bytes_forum" on "news_bytes" using btree ( "forum_id" "int4_ops" );
-CREATE INDEX "news_group_date" on "news_bytes" using btree ( "group_id" "int4_ops", "date" "int4_ops" );
-CREATE INDEX "news_approved_date" on "news_bytes" using btree ( "is_approved" "int4_ops", "date" "int4_ops" );
-CREATE INDEX "patch_group_id" on "patch" using btree ( "group_id" "int4_ops" );
-CREATE INDEX "patch_groupid_assignedto_status" on "patch" using btree ( "group_id" "int4_ops", "assigned_to" "int4_ops", "patch_status_id" "int4_ops" );
-CREATE INDEX "patch_groupid_assignedto" on "patch" using btree ( "group_id" "int4_ops", "assigned_to" "int4_ops" );
-CREATE INDEX "patch_groupid_status" on "patch" using btree ( "group_id" "int4_ops", "patch_status_id" "int4_ops" );
-CREATE INDEX "patch_group_group_id" on "patch_category" using btree ( "group_id" "int4_ops" );
-CREATE INDEX "patch_history_patch_id" on "patch_history" using btree ( "patch_id" "int4_ops" );
-CREATE INDEX "people_job_group_id" on "people_job" using btree ( "group_id" "int4_ops" );
-CREATE INDEX "project_assigned_to_assigned_to" on "project_assigned_to" using btree ( "assigned_to_id" "int4_ops" );
-CREATE INDEX "project_assigned_to_task_id" on "project_assigned_to" using btree ( "project_task_id" "int4_ops" );
-CREATE INDEX "project_is_dependent_on_task_id" on "project_dependencies" using btree ( "is_dependent_on_task_id" "int4_ops" );
-CREATE INDEX "project_dependencies_task_id" on "project_dependencies" using btree ( "project_task_id" "int4_ops" );
-CREATE INDEX "project_group_list_group_id" on "project_group_list" using btree ( "group_id" "int4_ops" );
-CREATE INDEX "project_history_task_id" on "project_history" using btree ( "project_task_id" "int4_ops" );
-CREATE INDEX "project_metric_group" on "project_metric" using btree ( "group_id" "int4_ops" );
-CREATE INDEX "project_task_group_project_id" on "project_task" using btree ( "group_project_id" "int4_ops" );
-CREATE INDEX "projecttask_projid_status" on "project_task" using btree ( "group_project_id" "int4_ops", "status_id" "int4_ops" );
-CREATE INDEX "projectweeklymetric_ranking" on "project_weekly_metric" using btree ( "ranking" "int4_ops" );
-CREATE INDEX "project_metric_weekly_group" on "project_weekly_metric" using btree ( "group_id" "int4_ops" );
-CREATE INDEX "session_user_id" on "session" using btree ( "user_id" "int4_ops" );
-CREATE INDEX "session_time" on "session" using btree ( "time" "int4_ops" );
-CREATE INDEX "snippet_language" on "snippet" using btree ( "language" "int4_ops" );
-CREATE INDEX "snippet_category" on "snippet" using btree ( "category" "int4_ops" );
-CREATE INDEX "snippet_package_language" on "snippet_package" using btree ( "language" "int4_ops" );
-CREATE INDEX "snippet_package_category" on "snippet_package" using btree ( "category" "int4_ops" );
-CREATE INDEX "snippet_package_item_pkg_ver" on "snippet_package_item" using btree ( "snippet_package_version_id" "int4_ops" );
-CREATE INDEX "snippet_package_version_pkg_id" on "snippet_package_version" using btree ( "snippet_package_id" "int4_ops" );
-CREATE INDEX "snippet_version_snippet_id" on "snippet_version" using btree ( "snippet_id" "int4_ops" );
-CREATE INDEX "pages_by_day_day" on "stats_agg_pages_by_day" using btree ( "day" "int4_ops" );
-CREATE INDEX "stats_agr_filerelease_group_id" on "stats_agr_filerelease" using btree ( "group_id" "int4_ops" );
-CREATE INDEX "stats_agr_filerelease_filerelea" on "stats_agr_filerelease" using btree ( "filerelease_id" "int4_ops" );
-CREATE INDEX "project_agr_log_group" on "stats_agr_project" using btree ( "group_id" "int4_ops" );
-CREATE INDEX "ftpdl_group_id" on "stats_ftp_downloads" using btree ( "group_id" "int4_ops" );
-CREATE INDEX "ftpdl_fid" on "stats_ftp_downloads" using btree ( "filerelease_id" "int4_ops" );
-CREATE INDEX "ftpdl_day" on "stats_ftp_downloads" using btree ( "day" "int4_ops" );
-CREATE INDEX "httpdl_group_id" on "stats_http_downloads" using btree ( "group_id" "int4_ops" );
-CREATE INDEX "httpdl_fid" on "stats_http_downloads" using btree ( "filerelease_id" "int4_ops" );
-CREATE INDEX "httpdl_day" on "stats_http_downloads" using btree ( "day" "int4_ops" );
-CREATE INDEX "archive_project_monthday" on "stats_project" using btree ( "month" "int4_ops", "day" "int4_ops" );
-CREATE INDEX "project_log_group" on "stats_project" using btree ( "group_id" "int4_ops" );
-CREATE INDEX "archive_project_week" on "stats_project" using btree ( "week" "int4_ops" );
-CREATE INDEX "archive_project_day" on "stats_project" using btree ( "day" "int4_ops" );
-CREATE INDEX "archive_project_month" on "stats_project" using btree ( "month" "int4_ops" );
-CREATE INDEX "stats_project_tmp_group_id" on "stats_project_tmp" using btree ( "group_id" "int4_ops" );
-CREATE INDEX "project_stats_week" on "stats_project_tmp" using btree ( "week" "int4_ops" );
-CREATE INDEX "project_stats_month" on "stats_project_tmp" using btree ( "month" "int4_ops" );
-CREATE INDEX "project_stats_day" on "stats_project_tmp" using btree ( "day" "int4_ops" );
-CREATE INDEX "stats_site_monthday" on "stats_site" using btree ( "month" "int4_ops", "day" "int4_ops" );
-CREATE INDEX "stats_site_week" on "stats_site" using btree ( "week" "int4_ops" );
-CREATE INDEX "stats_site_day" on "stats_site" using btree ( "day" "int4_ops" );
-CREATE INDEX "stats_site_month" on "stats_site" using btree ( "month" "int4_ops" );
-CREATE INDEX "support_group_id" on "support" using btree ( "group_id" "int4_ops" );
-CREATE INDEX "support_groupid_assignedto" on "support" using btree ( "group_id" "int4_ops", "assigned_to" "int4_ops" );
-CREATE INDEX "support_groupid_assignedto_stat" on "support" using btree ( "group_id" "int4_ops", "assigned_to" "int4_ops", "support_status_id" "int4_ops" );
-CREATE INDEX "support_groupid_status" on "support" using btree ( "group_id" "int4_ops", "support_status_id" "int4_ops" );
-CREATE INDEX "support_canned_response_group_i" on "support_canned_responses" using btree ( "group_id" "int4_ops" );
-CREATE INDEX "support_group_group_id" on "support_category" using btree ( "group_id" "int4_ops" );
-CREATE INDEX "support_history_support_id" on "support_history" using btree ( "support_id" "int4_ops" );
-CREATE INDEX "support_messages_support_id" on "support_messages" using btree ( "support_id" "int4_ops" );
-CREATE INDEX "supported_languages_code" on "supported_languages" using btree ( "language_code" "bpchar_ops" );
-CREATE INDEX "survey_questions_group" on "survey_questions" using btree ( "group_id" "int4_ops" );
-CREATE INDEX "survey_rating_aggregate_type_id" on "survey_rating_aggregate" using btree ( "type" "int4_ops", "id" "int4_ops" );
-CREATE INDEX "survey_rating_responses_user_ty" on "survey_rating_response" using btree ( "user_id" "int4_ops", "type" "int4_ops", "id" "int4_ops" );
-CREATE INDEX "survey_rating_responses_type_id" on "survey_rating_response" using btree ( "type" "int4_ops", "id" "int4_ops" );
-CREATE INDEX "survey_responses_group_id" on "survey_responses" using btree ( "group_id" "int4_ops" );
-CREATE INDEX "survey_responses_user_survey_qu" on "survey_responses" using btree ( "user_id" "int4_ops", "survey_id" "int4_ops", "question_id" "int4_ops" );
-CREATE INDEX "survey_responses_user_survey" on "survey_responses" using btree ( "user_id" "int4_ops", "survey_id" "int4_ops" );
-CREATE INDEX "survey_responses_survey_questio" on "survey_responses" using btree ( "survey_id" "int4_ops", "question_id" "int4_ops" );
-CREATE INDEX "surveys_group" on "surveys" using btree ( "group_id" "int4_ops" );
-CREATE INDEX "rank_forumposts_week_idx" on "top_group" using btree ( "rank_forumposts_week" "int4_ops" );
-CREATE INDEX "rank_downloads_week_idx" on "top_group" using btree ( "rank_downloads_week" "int4_ops" );
-CREATE INDEX "pageviews_proj_idx" on "top_group" using btree ( "pageviews_proj" "int4_ops" );
-CREATE INDEX "rank_userrank_idx" on "top_group" using btree ( "rank_userrank" "int4_ops" );
-CREATE INDEX "rank_downloads_all_idx" on "top_group" using btree ( "rank_downloads_all" "int4_ops" );
-CREATE INDEX "parent_idx" on "trove_cat" using btree ( "parent" "int4_ops" );
-CREATE INDEX "root_parent_idx" on "trove_cat" using btree ( "root_parent" "int4_ops" );
-CREATE INDEX "version_idx" on "trove_cat" using btree ( "version" "int4_ops" );
-CREATE INDEX "trove_group_link_group_id" on "trove_group_link" using btree ( "group_id" "int4_ops" );
-CREATE INDEX "trove_group_link_cat_id" on "trove_group_link" using btree ( "trove_cat_id" "int4_ops" );
-CREATE INDEX "user_bookmark_user_id" on "user_bookmarks" using btree ( "user_id" "int4_ops" );
-CREATE INDEX "user_diary_user" on "user_diary" using btree ( "user_id" "int4_ops" );
-CREATE INDEX "user_diary_user_date" on "user_diary" using btree ( "user_id" "int4_ops", "date_posted" "int4_ops" );
-CREATE INDEX "user_diary_date" on "user_diary" using btree ( "date_posted" "int4_ops" );
-CREATE INDEX "user_diary_monitor_user" on "user_diary_monitor" using btree ( "user_id" "int4_ops" );
-CREATE INDEX "user_diary_monitor_monitored_us" on "user_diary_monitor" using btree ( "monitored_user" "int4_ops" );
-CREATE INDEX "user_group_group_id" on "user_group" using btree ( "group_id" "int4_ops" );
-CREATE INDEX "bug_flags_idx" on "user_group" using btree ( "bug_flags" "int4_ops" );
-CREATE INDEX "project_flags_idx" on "user_group" using btree ( "project_flags" "int4_ops" );
-CREATE INDEX "user_group_user_id" on "user_group" using btree ( "user_id" "int4_ops" );
-CREATE INDEX "admin_flags_idx" on "user_group" using btree ( "admin_flags" "bpchar_ops" );
-CREATE INDEX "forum_flags_idx" on "user_group" using btree ( "forum_flags" "int4_ops" );
-CREATE INDEX "user_metric0_user_id" on "user_metric0" using btree ( "user_id" "int4_ops" );
-CREATE INDEX "user_pref_user_id" on "user_preferences" using btree ( "user_id" "int4_ops" );
-CREATE INDEX "user_ratings_rated_by" on "user_ratings" using btree ( "rated_by" "int4_ops" );
-CREATE INDEX "user_ratings_user_id" on "user_ratings" using btree ( "user_id" "int4_ops" );
-CREATE INDEX "users_status" on "users" using btree ( "status" "bpchar_ops" );
-CREATE INDEX "user_user" on "users" using btree ( "status" "bpchar_ops" );
-CREATE INDEX "idx_users_username" on "users" using btree ( "user_name" "text_ops" );
-CREATE INDEX "users_user_pw" on "users" using btree ( "user_pw" "varchar_ops" );
-CREATE INDEX "troveagg_trovecatid" on "trove_agg" using btree ( "trove_cat_id" "int4_ops" );
-CREATE CONSTRAINT TRIGGER "user_group_user_id_fk" AFTER INSERT OR UPDATE ON "user_group" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('user_group_user_id_fk', 'user_group', 'users', 'FULL', 'user_id', 'user_id');
-CREATE CONSTRAINT TRIGGER "user_group_user_id_fk" AFTER DELETE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('user_group_user_id_fk', 'user_group', 'users', 'FULL', 'user_id', 'user_id');
-CREATE CONSTRAINT TRIGGER "user_group_user_id_fk" AFTER UPDATE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('user_group_user_id_fk', 'user_group', 'users', 'FULL', 'user_id', 'user_id');
-CREATE CONSTRAINT TRIGGER "user_group_group_id_fk" AFTER INSERT OR UPDATE ON "user_group" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('user_group_group_id_fk', 'user_group', 'groups', 'FULL', 'group_id', 'group_id');
-CREATE CONSTRAINT TRIGGER "user_group_group_id_fk" AFTER DELETE ON "groups" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('user_group_group_id_fk', 'user_group', 'groups', 'FULL', 'group_id', 'group_id');
-CREATE CONSTRAINT TRIGGER "user_group_group_id_fk" AFTER UPDATE ON "groups" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('user_group_group_id_fk', 'user_group', 'groups', 'FULL', 'group_id', 'group_id');
-CREATE CONSTRAINT TRIGGER "forum_posted_by_fk" AFTER INSERT OR UPDATE ON "forum" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('forum_posted_by_fk', 'forum', 'users', 'FULL', 'posted_by', 'user_id');
-CREATE CONSTRAINT TRIGGER "forum_posted_by_fk" AFTER DELETE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('forum_posted_by_fk', 'forum', 'users', 'FULL', 'posted_by', 'user_id');
-CREATE CONSTRAINT TRIGGER "forum_posted_by_fk" AFTER UPDATE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('forum_posted_by_fk', 'forum', 'users', 'FULL', 'posted_by', 'user_id');
-CREATE CONSTRAINT TRIGGER "forum_group_forum_id_fk" AFTER INSERT OR UPDATE ON "forum" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('forum_group_forum_id_fk', 'forum', 'forum_group_list', 'FULL', 'group_forum_id', 'group_forum_id');
-CREATE CONSTRAINT TRIGGER "forum_group_forum_id_fk" AFTER DELETE ON "forum_group_list" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('forum_group_forum_id_fk', 'forum', 'forum_group_list', 'FULL', 'group_forum_id', 'group_forum_id');
-CREATE CONSTRAINT TRIGGER "forum_group_forum_id_fk" AFTER UPDATE ON "forum_group_list" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('forum_group_forum_id_fk', 'forum', 'forum_group_list', 'FULL', 'group_forum_id', 'group_forum_id');
-CREATE CONSTRAINT TRIGGER "forum_group_list_group_id_fk" AFTER INSERT OR UPDATE ON "forum_group_list" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('forum_group_list_group_id_fk', 'forum_group_list', 'groups', 'FULL', 'group_id', 'group_id');
-CREATE CONSTRAINT TRIGGER "forum_group_list_group_id_fk" AFTER DELETE ON "groups" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('forum_group_list_group_id_fk', 'forum_group_list', 'groups', 'FULL', 'group_id', 'group_id');
-CREATE CONSTRAINT TRIGGER "forum_group_list_group_id_fk" AFTER UPDATE ON "groups" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('forum_group_list_group_id_fk', 'forum_group_list', 'groups', 'FULL', 'group_id', 'group_id');
-CREATE CONSTRAINT TRIGGER "bug_group_group_fk" AFTER INSERT OR UPDATE ON "bug_group" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('bug_group_group_fk', 'bug_group', 'groups', 'FULL', 'group_id', 'group_id');
-CREATE CONSTRAINT TRIGGER "bug_group_group_fk" AFTER DELETE ON "groups" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('bug_group_group_fk', 'bug_group', 'groups', 'FULL', 'group_id', 'group_id');
-CREATE CONSTRAINT TRIGGER "bug_group_group_fk" AFTER UPDATE ON "groups" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('bug_group_group_fk', 'bug_group', 'groups', 'FULL', 'group_id', 'group_id');
-CREATE CONSTRAINT TRIGGER "bug_category_group_fk" AFTER INSERT OR UPDATE ON "bug_category" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('bug_category_group_fk', 'bug_category', 'groups', 'FULL', 'group_id', 'group_id');
-CREATE CONSTRAINT TRIGGER "bug_category_group_fk" AFTER DELETE ON "groups" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('bug_category_group_fk', 'bug_category', 'groups', 'FULL', 'group_id', 'group_id');
-CREATE CONSTRAINT TRIGGER "bug_category_group_fk" AFTER UPDATE ON "groups" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('bug_category_group_fk', 'bug_category', 'groups', 'FULL', 'group_id', 'group_id');
-CREATE CONSTRAINT TRIGGER "bug_submitted_by_fk" AFTER INSERT OR UPDATE ON "bug" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('bug_submitted_by_fk', 'bug', 'users', 'FULL', 'submitted_by', 'user_id');
-CREATE CONSTRAINT TRIGGER "bug_submitted_by_fk" AFTER DELETE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('bug_submitted_by_fk', 'bug', 'users', 'FULL', 'submitted_by', 'user_id');
-CREATE CONSTRAINT TRIGGER "bug_submitted_by_fk" AFTER UPDATE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('bug_submitted_by_fk', 'bug', 'users', 'FULL', 'submitted_by', 'user_id');
-CREATE CONSTRAINT TRIGGER "bug_assigned_to_fk" AFTER INSERT OR UPDATE ON "bug" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('bug_assigned_to_fk', 'bug', 'users', 'FULL', 'assigned_to', 'user_id');
-CREATE CONSTRAINT TRIGGER "bug_assigned_to_fk" AFTER DELETE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('bug_assigned_to_fk', 'bug', 'users', 'FULL', 'assigned_to', 'user_id');
-CREATE CONSTRAINT TRIGGER "bug_assigned_to_fk" AFTER UPDATE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('bug_assigned_to_fk', 'bug', 'users', 'FULL', 'assigned_to', 'user_id');
-CREATE CONSTRAINT TRIGGER "bug_status_fk" AFTER INSERT OR UPDATE ON "bug" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('bug_status_fk', 'bug', 'bug_status', 'FULL', 'status_id', 'status_id');
-CREATE CONSTRAINT TRIGGER "bug_status_fk" AFTER DELETE ON "bug_status" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('bug_status_fk', 'bug', 'bug_status', 'FULL', 'status_id', 'status_id');
-CREATE CONSTRAINT TRIGGER "bug_status_fk" AFTER UPDATE ON "bug_status" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('bug_status_fk', 'bug', 'bug_status', 'FULL', 'status_id', 'status_id');
-CREATE CONSTRAINT TRIGGER "bug_category_fk" AFTER INSERT OR UPDATE ON "bug" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('bug_category_fk', 'bug', 'bug_category', 'FULL', 'category_id', 'bug_category_id');
-CREATE CONSTRAINT TRIGGER "bug_category_fk" AFTER DELETE ON "bug_category" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('bug_category_fk', 'bug', 'bug_category', 'FULL', 'category_id', 'bug_category_id');
-CREATE CONSTRAINT TRIGGER "bug_category_fk" AFTER UPDATE ON "bug_category" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('bug_category_fk', 'bug', 'bug_category', 'FULL', 'category_id', 'bug_category_id');
-CREATE CONSTRAINT TRIGGER "bug_resolution_fk" AFTER INSERT OR UPDATE ON "bug" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('bug_resolution_fk', 'bug', 'bug_resolution', 'FULL', 'resolution_id', 'resolution_id');
-CREATE CONSTRAINT TRIGGER "bug_resolution_fk" AFTER DELETE ON "bug_resolution" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('bug_resolution_fk', 'bug', 'bug_resolution', 'FULL', 'resolution_id', 'resolution_id');
-CREATE CONSTRAINT TRIGGER "bug_resolution_fk" AFTER UPDATE ON "bug_resolution" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('bug_resolution_fk', 'bug', 'bug_resolution', 'FULL', 'resolution_id', 'resolution_id');
-CREATE CONSTRAINT TRIGGER "bug_group_fk" AFTER INSERT OR UPDATE ON "bug" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('bug_group_fk', 'bug', 'bug_group', 'FULL', 'bug_group_id', 'bug_group_id');
-CREATE CONSTRAINT TRIGGER "bug_group_fk" AFTER DELETE ON "bug_group" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('bug_group_fk', 'bug', 'bug_group', 'FULL', 'bug_group_id', 'bug_group_id');
-CREATE CONSTRAINT TRIGGER "bug_group_fk" AFTER UPDATE ON "bug_group" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('bug_group_fk', 'bug', 'bug_group', 'FULL', 'bug_group_id', 'bug_group_id');
-CREATE CONSTRAINT TRIGGER "forum_posted_by_fk" AFTER INSERT OR UPDATE ON "forum" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('forum_posted_by_fk', 'forum', 'users', 'FULL', 'posted_by', 'user_id');
-CREATE CONSTRAINT TRIGGER "forum_posted_by_fk" AFTER DELETE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('forum_posted_by_fk', 'forum', 'users', 'FULL', 'posted_by', 'user_id');
-CREATE CONSTRAINT TRIGGER "forum_posted_by_fk" AFTER UPDATE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('forum_posted_by_fk', 'forum', 'users', 'FULL', 'posted_by', 'user_id');
-CREATE CONSTRAINT TRIGGER "forum_group_forum_id_fk" AFTER INSERT OR UPDATE ON "forum" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('forum_group_forum_id_fk', 'forum', 'forum_group_list', 'FULL', 'group_forum_id', 'group_forum_id');
-CREATE CONSTRAINT TRIGGER "forum_group_forum_id_fk" AFTER DELETE ON "forum_group_list" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('forum_group_forum_id_fk', 'forum', 'forum_group_list', 'FULL', 'group_forum_id', 'group_forum_id');
-CREATE CONSTRAINT TRIGGER "forum_group_forum_id_fk" AFTER UPDATE ON "forum_group_list" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('forum_group_forum_id_fk', 'forum', 'forum_group_list', 'FULL', 'group_forum_id', 'group_forum_id');
-CREATE CONSTRAINT TRIGGER "project_group_list_group_id_fk" AFTER INSERT OR UPDATE ON "project_group_list" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('project_group_list_group_id_fk', 'project_group_list', 'groups', 'FULL', 'group_id', 'group_id');
-CREATE CONSTRAINT TRIGGER "project_group_list_group_id_fk" AFTER DELETE ON "groups" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('project_group_list_group_id_fk', 'project_group_list', 'groups', 'FULL', 'group_id', 'group_id');
-CREATE CONSTRAINT TRIGGER "project_group_list_group_id_fk" AFTER UPDATE ON "groups" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('project_group_list_group_id_fk', 'project_group_list', 'groups', 'FULL', 'group_id', 'group_id');
-CREATE CONSTRAINT TRIGGER "project_task_group_project_id_f" AFTER INSERT OR UPDATE ON "project_task" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('project_task_group_project_id_f', 'project_task', 'project_group_list', 'FULL', 'group_project_id', 'group_project_id');
-CREATE CONSTRAINT TRIGGER "project_task_group_project_id_f" AFTER DELETE ON "project_group_list" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('project_task_group_project_id_f', 'project_task', 'project_group_list', 'FULL', 'group_project_id', 'group_project_id');
-CREATE CONSTRAINT TRIGGER "project_task_group_project_id_f" AFTER UPDATE ON "project_group_list" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('project_task_group_project_id_f', 'project_task', 'project_group_list', 'FULL', 'group_project_id', 'group_project_id');
-CREATE CONSTRAINT TRIGGER "project_task_created_by_fk" AFTER INSERT OR UPDATE ON "project_task" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('project_task_created_by_fk', 'project_task', 'users', 'FULL', 'created_by', 'user_id');
-CREATE CONSTRAINT TRIGGER "project_task_created_by_fk" AFTER DELETE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('project_task_created_by_fk', 'project_task', 'users', 'FULL', 'created_by', 'user_id');
-CREATE CONSTRAINT TRIGGER "project_task_created_by_fk" AFTER UPDATE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('project_task_created_by_fk', 'project_task', 'users', 'FULL', 'created_by', 'user_id');
-CREATE CONSTRAINT TRIGGER "project_task_status_id_fk" AFTER INSERT OR UPDATE ON "project_task" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('project_task_status_id_fk', 'project_task', 'project_status', 'FULL', 'status_id', 'status_id');
-CREATE CONSTRAINT TRIGGER "project_task_status_id_fk" AFTER DELETE ON "project_status" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('project_task_status_id_fk', 'project_task', 'project_status', 'FULL', 'status_id', 'status_id');
-CREATE CONSTRAINT TRIGGER "project_task_status_id_fk" AFTER UPDATE ON "project_status" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('project_task_status_id_fk', 'project_task', 'project_status', 'FULL', 'status_id', 'status_id');
-CREATE CONSTRAINT TRIGGER "patch_status_id_fk" AFTER INSERT OR UPDATE ON "patch" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('patch_status_id_fk', 'patch', 'patch_status', 'FULL', 'patch_status_id', 'patch_status_id');
-CREATE CONSTRAINT TRIGGER "patch_status_id_fk" AFTER DELETE ON "patch_status" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('patch_status_id_fk', 'patch', 'patch_status', 'FULL', 'patch_status_id', 'patch_status_id');
-CREATE CONSTRAINT TRIGGER "patch_status_id_fk" AFTER UPDATE ON "patch_status" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('patch_status_id_fk', 'patch', 'patch_status', 'FULL', 'patch_status_id', 'patch_status_id');
-CREATE CONSTRAINT TRIGGER "patch_category_id_fk" AFTER INSERT OR UPDATE ON "patch" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('patch_category_id_fk', 'patch', 'patch_category', 'FULL', 'patch_category_id', 'patch_category_id');
-CREATE CONSTRAINT TRIGGER "patch_category_id_fk" AFTER DELETE ON "patch_category" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('patch_category_id_fk', 'patch', 'patch_category', 'FULL', 'patch_category_id', 'patch_category_id');
-CREATE CONSTRAINT TRIGGER "patch_category_id_fk" AFTER UPDATE ON "patch_category" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('patch_category_id_fk', 'patch', 'patch_category', 'FULL', 'patch_category_id', 'patch_category_id');
-CREATE CONSTRAINT TRIGGER "patch_submitted_by_fk" AFTER INSERT OR UPDATE ON "patch" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('patch_submitted_by_fk', 'patch', 'users', 'FULL', 'submitted_by', 'user_id');
-CREATE CONSTRAINT TRIGGER "patch_submitted_by_fk" AFTER DELETE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('patch_submitted_by_fk', 'patch', 'users', 'FULL', 'submitted_by', 'user_id');
-CREATE CONSTRAINT TRIGGER "patch_submitted_by_fk" AFTER UPDATE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('patch_submitted_by_fk', 'patch', 'users', 'FULL', 'submitted_by', 'user_id');
-CREATE CONSTRAINT TRIGGER "patch_assigned_to_fk" AFTER INSERT OR UPDATE ON "patch" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('patch_assigned_to_fk', 'patch', 'users', 'FULL', 'assigned_to', 'user_id');
-CREATE CONSTRAINT TRIGGER "patch_assigned_to_fk" AFTER DELETE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('patch_assigned_to_fk', 'patch', 'users', 'FULL', 'assigned_to', 'user_id');
-CREATE CONSTRAINT TRIGGER "patch_assigned_to_fk" AFTER UPDATE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('patch_assigned_to_fk', 'patch', 'users', 'FULL', 'assigned_to', 'user_id');
-CREATE CONSTRAINT TRIGGER "patch_category_group_id_fk" AFTER INSERT OR UPDATE ON "patch_category" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('patch_category_group_id_fk', 'patch_category', 'groups', 'FULL', 'group_id', 'group_id');
-CREATE CONSTRAINT TRIGGER "patch_category_group_id_fk" AFTER DELETE ON "groups" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('patch_category_group_id_fk', 'patch_category', 'groups', 'FULL', 'group_id', 'group_id');
-CREATE CONSTRAINT TRIGGER "patch_category_group_id_fk" AFTER UPDATE ON "groups" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('patch_category_group_id_fk', 'patch_category', 'groups', 'FULL', 'group_id', 'group_id');
-CREATE CONSTRAINT TRIGGER "support_status_id_fk" AFTER INSERT OR UPDATE ON "support" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('support_status_id_fk', 'support', 'support_status', 'FULL', 'support_status_id', 'support_status_id');
-CREATE CONSTRAINT TRIGGER "support_status_id_fk" AFTER DELETE ON "support_status" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('support_status_id_fk', 'support', 'support_status', 'FULL', 'support_status_id', 'support_status_id');
-CREATE CONSTRAINT TRIGGER "support_status_id_fk" AFTER UPDATE ON "support_status" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('support_status_id_fk', 'support', 'support_status', 'FULL', 'support_status_id', 'support_status_id');
-CREATE CONSTRAINT TRIGGER "support_category_id_fk" AFTER INSERT OR UPDATE ON "support" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('support_category_id_fk', 'support', 'support_category', 'FULL', 'support_category_id', 'support_category_id');
-CREATE CONSTRAINT TRIGGER "support_category_id_fk" AFTER DELETE ON "support_category" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('support_category_id_fk', 'support', 'support_category', 'FULL', 'support_category_id', 'support_category_id');
-CREATE CONSTRAINT TRIGGER "support_category_id_fk" AFTER UPDATE ON "support_category" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('support_category_id_fk', 'support', 'support_category', 'FULL', 'support_category_id', 'support_category_id');
-CREATE CONSTRAINT TRIGGER "support_submitted_by_fk" AFTER INSERT OR UPDATE ON "support" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('support_submitted_by_fk', 'support', 'users', 'FULL', 'submitted_by', 'user_id');
-CREATE CONSTRAINT TRIGGER "support_submitted_by_fk" AFTER DELETE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('support_submitted_by_fk', 'support', 'users', 'FULL', 'submitted_by', 'user_id');
-CREATE CONSTRAINT TRIGGER "support_submitted_by_fk" AFTER UPDATE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('support_submitted_by_fk', 'support', 'users', 'FULL', 'submitted_by', 'user_id');
-CREATE CONSTRAINT TRIGGER "support_assigned_to_fk" AFTER INSERT OR UPDATE ON "support" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('support_assigned_to_fk', 'support', 'users', 'FULL', 'assigned_to', 'user_id');
-CREATE CONSTRAINT TRIGGER "support_assigned_to_fk" AFTER DELETE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('support_assigned_to_fk', 'support', 'users', 'FULL', 'assigned_to', 'user_id');
-CREATE CONSTRAINT TRIGGER "support_assigned_to_fk" AFTER UPDATE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('support_assigned_to_fk', 'support', 'users', 'FULL', 'assigned_to', 'user_id');
-CREATE CONSTRAINT TRIGGER "support_category_group_id_fk" AFTER INSERT OR UPDATE ON "support_category" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('support_category_group_id_fk', 'support_category', 'groups', 'FULL', 'group_id', 'group_id');
-CREATE CONSTRAINT TRIGGER "support_category_group_id_fk" AFTER DELETE ON "groups" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('support_category_group_id_fk', 'support_category', 'groups', 'FULL', 'group_id', 'group_id');
-CREATE CONSTRAINT TRIGGER "support_category_group_id_fk" AFTER UPDATE ON "groups" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('support_category_group_id_fk', 'support_category', 'groups', 'FULL', 'group_id', 'group_id');
-CREATE CONSTRAINT TRIGGER "users_languageid_fk" AFTER INSERT OR UPDATE ON "users" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('users_languageid_fk', 'users', 'supported_languages', 'FULL', 'language', 'language_id');
-CREATE CONSTRAINT TRIGGER "users_languageid_fk" AFTER DELETE ON "supported_languages" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('users_languageid_fk', 'users', 'supported_languages', 'FULL', 'language', 'language_id');
-CREATE CONSTRAINT TRIGGER "users_languageid_fk" AFTER UPDATE ON "supported_languages" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('users_languageid_fk', 'users', 'supported_languages', 'FULL', 'language', 'language_id');
-
Deleted: trunk/gforge_base/evolvisforge-5.1/gforge/db/dbusers.sql
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/db/dbusers.sql 2011-02-24 14:55:48 UTC (rev 8039)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/db/dbusers.sql 2011-02-24 14:55:50 UTC (rev 8040)
@@ -1,32 +0,0 @@
---
--- SourceForge: Breaking Down the Barriers to Open Source Development
--- Copyright 1999-2001 (c) VA Linux Systems
--- http://sourceforge.net
---
--- $Id: dbusers.sql,v 1.3 2001/06/19 16:50:06 jbyers Exp $
---
-
-CREATE USER backend WITH PASSWORD 'xxxxx' NOCREATEDB NOCREATEUSER;
-
-GRANT SELECT ON prweb_vhost,users,mail_group_list TO backend;
-GRANT SELECT,UPDATE ON prdb_dbs TO backend;
-
-
-CREATE USER stats WITH PASSWORD 'xxxxx' NOCREATEDB NOCREATEUSER;
-
-GRANT SELECT ON
-groups,
-frs_file,
-frs_package,
-frs_release
-TO stats;
-
-GRANT ALL ON
-frs_dlstats_file_agg,
-stats_ftp_downloads,
-stats_http_downloads,
-stats_cvs_group,
-stats_subd_pages
-TO stats;
-
-grant all on _rserv_log_ to stats;
Deleted: trunk/gforge_base/evolvisforge-5.1/gforge/db/languages.tab
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/db/languages.tab 2011-02-24 14:55:48 UTC (rev 8039)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/db/languages.tab 2011-02-24 14:55:50 UTC (rev 8040)
@@ -1,23 +0,0 @@
-1 English English.class English en
-2 Japanese Japanese.class Japanese ja
-3 Hebrew Hebrew.class Hebrew iw
-4 Spanish Spanish.class Spanish es
-5 Thai Thai.class Thai th
-6 German German.class German de
-7 French French.class French fr
-8 Italian Italian.class Italian it
-9 Norwegian Norwegian.class Norwegian no
-10 Swedish Swedish.class Swedish sv
-12 Dutch Dutch.class Dutch nl
-13 Esperanto Esperanto.class Esperanto eo
-14 Catalan Catalan.class Catalan ca
-15 Polish Polish.class Polish pl
-11 Trad.Chinese Chinese.class Chinese zh
-17 Russian Russian.class Russian ru
-18 Portuguese Portuguese.class Portuguese pt
-19 Greek Greek.class Greek el
-20 Bulgarian Bulgarian.class Bulgarian bg
-21 Indonesian Indonesian.class Indonesian id
-16 Pt. Brazillian PortugueseBrazillian.class PortugueseBrazillian pt
-22 Korean Korean.class Korean ko
-23 Smpl.Chinese SimplifiedChinese.class SimplifiedChinese zn
Deleted: trunk/gforge_base/evolvisforge-5.1/gforge/db/replicate.sh
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/db/replicate.sh 2011-02-24 14:55:48 UTC (rev 8039)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/db/replicate.sh 2011-02-24 14:55:50 UTC (rev 8040)
@@ -1,54 +0,0 @@
-#!/bin/sh
-#
-# SourceForge: Breaking Down the Barriers to Open Source Development
-# Copyright 1999-2001 (c) VA Linux Systems
-# http://sourceforge.net
-#
-# $Id: replicate.sh,v 1.5 2001/06/19 16:50:06 jbyers Exp $
-#
-
-MasterInit alexandria
-SlaveInit --host=sf-db2 stats
-
-MasterAddTable alexandria stats_site oid
-MasterAddTable alexandria stats_project oid
-MasterAddTable alexandria stats_project_developers oid
-MasterAddTable alexandria stats_project_metric oid
-MasterAddTable alexandria frs_dlstats_file_agg oid
-MasterAddTable alexandria stats_subd_pages oid
-MasterAddTable alexandria stats_agg_logo_by_group oid
-MasterAddTable alexandria stats_cvs_group oid
-MasterAddTable alexandria stats_agg_site_by_group oid
-MasterAddTable alexandria stats_site_pages_by_day oid
-MasterAddTable alexandria frs_package package_id
-MasterAddTable alexandria frs_release release_id
-MasterAddTable alexandria frs_file file_id
-MasterAddTable alexandria frs_processor processor_id
-MasterAddTable alexandria frs_filetype type_id
-MasterAddTable alexandria project_weekly_metric group_id
-MasterAddTable alexandria trove_cat trove_cat_id
-MasterAddTable alexandria trove_group_link trove_group_id
-MasterAddTable alexandria groups group_id
-MasterAddTable alexandria users user_id
-MasterAddTable alexandria foundry_projects id
-SlaveAddTable --host=sf-db2 stats foundry_projects id
-SlaveAddTable --host=sf-db2 stats stats_site oid
-SlaveAddTable --host=sf-db2 stats stats_project oid
-SlaveAddTable --host=sf-db2 stats stats_project_developers oid
-SlaveAddTable --host=sf-db2 stats stats_project_metric oid
-SlaveAddTable --host=sf-db2 stats frs_dlstats_file_agg oid
-SlaveAddTable --host=sf-db2 stats stats_subd_pages oid
-SlaveAddTable --host=sf-db2 stats stats_agg_logo_by_group oid
-SlaveAddTable --host=sf-db2 stats stats_cvs_group oid
-SlaveAddTable --host=sf-db2 stats stats_agg_site_by_group oid
-SlaveAddTable --host=sf-db2 stats stats_site_pages_by_day oid
-SlaveAddTable --host=sf-db2 stats frs_package package_id
-SlaveAddTable --host=sf-db2 stats frs_release release_id
-SlaveAddTable --host=sf-db2 stats frs_file file_id
-SlaveAddTable --host=sf-db2 stats frs_processor processor_id
-SlaveAddTable --host=sf-db2 stats frs_filetype type_id
-SlaveAddTable --host=sf-db2 stats project_weekly_metric group_id
-SlaveAddTable --host=sf-db2 stats trove_cat trove_cat_id
-SlaveAddTable --host=sf-db2 stats trove_group_link trove_group_id
-SlaveAddTable --host=sf-db2 stats groups group_id
-SlaveAddTable --host=sf-db2 stats users user_id
Deleted: trunk/gforge_base/evolvisforge-5.1/gforge/db/replication-master.sql
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/db/replication-master.sql 2011-02-24 14:55:48 UTC (rev 8039)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/db/replication-master.sql 2011-02-24 14:55:50 UTC (rev 8040)
@@ -1,65 +0,0 @@
---
--- SourceForge: Breaking Down the Barriers to Open Source Development
--- Copyright 1999-2001 (c) VA Linux Systems
--- http://sourceforge.net
---
--- $Id: replication-master.sql,v 1.7 2001/06/27 00:11:20 tperdue Exp $
---
-
-COPY stats_site WITH OIDS TO '/home/tperdue/dumpfiles/stats_site.dump';
-COPY stats_project WITH OIDS TO '/home/tperdue/dumpfiles/stats_project.dump';
-COPY stats_project_developers WITH OIDS TO '/home/tperdue/dumpfiles/stats_project_developers.dump';
-COPY stats_project_metric WITH OIDS TO '/home/tperdue/dumpfiles/stats_project_metric.dump';
-COPY frs_dlstats_file_agg WITH OIDS TO '/home/tperdue/dumpfiles/frs_dlstats_file_agg.dump';
-COPY stats_subd_pages WITH OIDS TO '/home/tperdue/dumpfiles/stats_subd_pages.dump';
-COPY stats_agg_logo_by_group WITH OIDS TO '/home/tperdue/dumpfiles/stats_agg_logo_by_group.dump';
-COPY stats_cvs_group WITH OIDS TO '/home/tperdue/dumpfiles/stats_cvs_group.dump';
-COPY stats_agg_site_by_group WITH OIDS TO '/home/tperdue/dumpfiles/stats_agg_site_by_group.dump';
-COPY stats_site_pages_by_day WITH OIDS TO '/home/tperdue/dumpfiles/stats_site_pages_by_day.dump';
-COPY frs_package WITH OIDS TO '/home/tperdue/dumpfiles/frs_package.dump';
-COPY frs_release WITH OIDS TO '/home/tperdue/dumpfiles/frs_release.dump';
-COPY frs_processor WITH OIDS TO '/home/tperdue/dumpfiles/frs_processor.dump';
-COPY frs_filetype WITH OIDS TO '/home/tperdue/dumpfiles/frs_filetype.dump';
-COPY frs_file WITH OIDS TO '/home/tperdue/dumpfiles/frs_file.dump';
-COPY project_weekly_metric WITH OIDS TO '/home/tperdue/dumpfiles/project_weekly_metric.dump';
-COPY trove_cat WITH OIDS TO '/home/tperdue/dumpfiles/trove_cat.dump';
-COPY trove_group_link WITH OIDS TO '/home/tperdue/dumpfiles/trove_group_link.dump';
-COPY users WITH OIDS TO '/home/tperdue/dumpfiles/users.dump';
-COPY groups WITH OIDS TO '/home/tperdue/dumpfiles/groups.dump';
-COPY foundry_projects WITH oids to '/home/tperdue/dumpfiles/foundry_projects.dump';
-
-
-DROP INDEX frs_release_date;
-DROP INDEX frs_file_name;
-DROP INDEX frs_file_processor;
-DROP INDEX frs_file_type;
-DROP INDEX frs_release_by;
-
-CREATE UNIQUE INDEX statssite_oid ON stats_site(oid);
-CREATE UNIQUE INDEX statsproject_oid ON stats_project(oid);
-CREATE UNIQUE INDEX statsprojectdevelop_oid ON stats_project_developers(oid);
-CREATE UNIQUE INDEX statsprojectmetric_oid ON stats_project_metric(oid);
-CREATE UNIQUE INDEX frsdlfileagg_oid ON frs_dlstats_file_agg(oid);
-CREATE UNIQUE INDEX statssubdpages_oid ON stats_subd_pages(oid);
-CREATE UNIQUE INDEX statsagglogobygrp_oid ON stats_agg_site_by_group(oid);
-CREATE UNIQUE INDEX statscvsgrp_oid ON stats_cvs_group(oid);
-CREATE UNIQUE INDEX statsaggsitebygrp_oid ON stats_agg_site_by_group(oid);
-CREATE UNIQUE INDEX statssitepgsbyday_oid ON stats_site_pages_by_day(oid);
-
-DROP TABLE frs_dlstats_filetotal_agg;
-DROP TABLE frs_dlstats_grouptotal_agg;
-DROP TABLE frs_dlstats_group_agg;
-DROP TABLE stats_project_months;
-DROP TABLE stats_project_all;
-DROP TABLE stats_project_last_30;
-DROP TABLE stats_project_developers_last30;
-DROP TABLE stats_site_pages_by_month;
-DROP TABLE stats_site_last_30;
-DROP TABLE stats_site_months;
-DROP TABLE stats_site_all;
-DROP TABLE trove_agg;
-DROP TABLE trove_treesums;
-
-DROP TABLE foundry_project_rankings_agg;
-DROP TABLE foundry_project_downloads_agg;
-
Deleted: trunk/gforge_base/evolvisforge-5.1/gforge/db/replication-reset-master.sql
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/db/replication-reset-master.sql 2011-02-24 14:55:48 UTC (rev 8039)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/db/replication-reset-master.sql 2011-02-24 14:55:50 UTC (rev 8040)
@@ -1,43 +0,0 @@
-BEGIN;
-
---
--- reloid's get lost during dump/restore - reset them
---
-UPDATE _rserv_tables_
-SET reloid=
-(select oid
-FROM pg_class pgc
-WHERE relname=_rserv_tables_.tname);
-
---
--- Purge pending sync logs
---
-DELETE FROM _rserv_log_;
-DELETE FROM _rserv_sync_;
-
---
--- Get a dump of all tables inside a transaction to guarantee integrity
---
-COPY stats_site WITH OIDS TO '/home/tperdue/dumpfiles/stats_site.dump';
-COPY stats_project WITH OIDS TO '/home/tperdue/dumpfiles/stats_project.dump';
-COPY stats_project_developers WITH OIDS TO '/home/tperdue/dumpfiles/stats_project_developers.dump';
-COPY stats_project_metric WITH OIDS TO '/home/tperdue/dumpfiles/stats_project_metric.dump';
-COPY frs_dlstats_file_agg WITH OIDS TO '/home/tperdue/dumpfiles/frs_dlstats_file_agg.dump';
-COPY stats_subd_pages WITH OIDS TO '/home/tperdue/dumpfiles/stats_subd_pages.dump';
-COPY stats_agg_logo_by_group WITH OIDS TO '/home/tperdue/dumpfiles/stats_agg_logo_by_group.dump';
-COPY stats_cvs_group WITH OIDS TO '/home/tperdue/dumpfiles/stats_cvs_group.dump';
-COPY stats_agg_site_by_group WITH OIDS TO '/home/tperdue/dumpfiles/stats_agg_site_by_group.dump';
-COPY stats_site_pages_by_day WITH OIDS TO '/home/tperdue/dumpfiles/stats_site_pages_by_day.dump';
-COPY frs_package WITH OIDS TO '/home/tperdue/dumpfiles/frs_package.dump';
-COPY frs_release WITH OIDS TO '/home/tperdue/dumpfiles/frs_release.dump';
-COPY frs_processor WITH OIDS TO '/home/tperdue/dumpfiles/frs_processor.dump';
-COPY frs_filetype WITH OIDS TO '/home/tperdue/dumpfiles/frs_filetype.dump';
-COPY frs_file WITH OIDS TO '/home/tperdue/dumpfiles/frs_file.dump';
-COPY project_weekly_metric WITH OIDS TO '/home/tperdue/dumpfiles/project_weekly_metric.dump';
-COPY trove_cat WITH OIDS TO '/home/tperdue/dumpfiles/trove_cat.dump';
-COPY trove_group_link WITH OIDS TO '/home/tperdue/dumpfiles/trove_group_link.dump';
-COPY users WITH OIDS TO '/home/tperdue/dumpfiles/users.dump';
-COPY groups WITH OIDS TO '/home/tperdue/dumpfiles/groups.dump';
-COPY foundry_projects WITH oids to '/home/tperdue/dumpfiles/foundry_projects.dump';
-
-COMMIT;
Deleted: trunk/gforge_base/evolvisforge-5.1/gforge/db/replication-reset-slave.sql
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/db/replication-reset-slave.sql 2011-02-24 14:55:48 UTC (rev 8039)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/db/replication-reset-slave.sql 2011-02-24 14:55:50 UTC (rev 8040)
@@ -1,58 +0,0 @@
---
--- reloid's get lost during a dump/restore - reset them
---
-UPDATE _rserv_slave_tables_
-SET reloid=
-(select oid
-FROM pg_class pgc
-WHERE relname=_rserv_slave_tables_.tname);
-
---
--- Blank out all the tables
---
-TRUNCATE foundry_projects ;
-TRUNCATE stats_site ;
-TRUNCATE stats_project ;
-TRUNCATE stats_project_developers ;
-TRUNCATE stats_project_metric ;
-TRUNCATE frs_dlstats_file_agg ;
-TRUNCATE stats_subd_pages ;
-TRUNCATE stats_agg_logo_by_group ;
-TRUNCATE stats_cvs_group ;
-TRUNCATE stats_agg_site_by_group ;
-TRUNCATE stats_site_pages_by_day ;
-TRUNCATE frs_package ;
-TRUNCATE frs_release ;
-TRUNCATE frs_processor ;
-TRUNCATE frs_filetype ;
-TRUNCATE frs_file ;
-TRUNCATE users ;
-TRUNCATE groups ;
-TRUNCATE project_weekly_metric ;
-TRUNCATE trove_cat ;
-TRUNCATE trove_group_link ;
-
-COPY foundry_projects WITH oids from '/home/tperdue/dumpfiles/foundry_projects.dump';
-COPY stats_site WITH OIDS FROM '/home/tperdue/dumpfiles/stats_site.dump';
-COPY stats_project WITH OIDS FROM '/home/tperdue/dumpfiles/stats_project.dump';
-COPY stats_project_developers WITH OIDS FROM '/home/tperdue/dumpfiles/stats_project_developers.dump';
-COPY stats_project_metric WITH OIDS FROM '/home/tperdue/dumpfiles/stats_project_metric.dump';
-COPY frs_dlstats_file_agg WITH OIDS FROM '/home/tperdue/dumpfiles/frs_dlstats_file_agg.dump';
-COPY stats_subd_pages WITH OIDS FROM '/home/tperdue/dumpfiles/stats_subd_pages.dump';
-COPY stats_agg_logo_by_group WITH OIDS FROM '/home/tperdue/dumpfiles/stats_agg_logo_by_group.dump';
-COPY stats_cvs_group WITH OIDS FROM '/home/tperdue/dumpfiles/stats_cvs_group.dump';
-COPY stats_agg_site_by_group WITH OIDS FROM '/home/tperdue/dumpfiles/stats_agg_site_by_group.dump';
-COPY stats_site_pages_by_day WITH OIDS FROM '/home/tperdue/dumpfiles/stats_site_pages_by_day.dump';
-COPY frs_package WITH OIDS FROM '/home/tperdue/dumpfiles/frs_package.dump';
-COPY frs_release WITH OIDS FROM '/home/tperdue/dumpfiles/frs_release.dump';
-COPY frs_processor WITH OIDS FROM '/home/tperdue/dumpfiles/frs_processor.dump';
-COPY frs_filetype WITH OIDS FROM '/home/tperdue/dumpfiles/frs_filetype.dump';
-COPY frs_file WITH OIDS FROM '/home/tperdue/dumpfiles/frs_file.dump';
-COPY users WITH OIDS FROM '/home/tperdue/dumpfiles/users.dump';
-COPY groups WITH OIDS FROM '/home/tperdue/dumpfiles/groups.dump';
-COPY project_weekly_metric WITH OIDS FROM '/home/tperdue/dumpfiles/project_weekly_metric.dump';
-COPY trove_cat WITH OIDS FROM '/home/tperdue/dumpfiles/trove_cat.dump';
-COPY trove_group_link WITH OIDS FROM '/home/tperdue/dumpfiles/trove_group_link.dump';
-
-DELETE FROM _rserv_slave_sync_;
-
Deleted: trunk/gforge_base/evolvisforge-5.1/gforge/db/replication-slave.sql
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/db/replication-slave.sql 2011-02-24 14:55:48 UTC (rev 8039)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/db/replication-slave.sql 2011-02-24 14:55:50 UTC (rev 8040)
@@ -1,349 +0,0 @@
---
--- SourceForge: Breaking Down the Barriers to Open Source Development
--- Copyright 1999-2001 (c) VA Linux Systems
--- http://sourceforge.net
---
--- $Id: replication-slave.sql,v 1.8 2001/06/27 00:11:20 tperdue Exp $
---
-
-CREATE TABLE "stats_site" (
- "month" integer,
- "day" integer,
- "uniq_users" integer,
- "sessions" integer,
- "total_users" integer,
- "new_users" integer,
- "new_projects" integer
-);
-CREATE UNIQUE INDEX "statssite_month_day" on "stats_site" using btree ( "month" "int4_ops", "day" "int4_ops" );
-
-
-CREATE TABLE "stats_project" (
- "month" integer DEFAULT 0 NOT NULL,
- "day" integer DEFAULT 0 NOT NULL,
- "group_id" integer DEFAULT 0 NOT NULL,
- "file_releases" integer DEFAULT 0,
- "msg_posted" integer DEFAULT 0,
- "msg_uniq_auth" integer DEFAULT 0,
- "bugs_opened" integer DEFAULT 0,
- "bugs_closed" integer DEFAULT 0,
- "support_opened" integer DEFAULT 0,
- "support_closed" integer DEFAULT 0,
- "patches_opened" integer DEFAULT 0,
- "patches_closed" integer DEFAULT 0,
- "artifacts_opened" integer DEFAULT 0,
- "artifacts_closed" integer DEFAULT 0,
- "tasks_opened" integer DEFAULT 0,
- "tasks_closed" integer DEFAULT 0,
- "help_requests" integer DEFAULT 0
-);
-CREATE UNIQUE INDEX "statsproject_month_day_group" on "stats_project"
- using btree ( "month" "int4_ops", "day" "int4_ops", "group_id" "int4_ops" );
-
-
-CREATE TABLE "stats_project_developers" (
- "month" integer DEFAULT 0 NOT NULL,
- "day" integer DEFAULT 0 NOT NULL,
- "group_id" integer DEFAULT 0 NOT NULL,
- "developers" integer DEFAULT 0 NOT NULL
-);
-CREATE UNIQUE INDEX "statsprojectdev_month_day_group" on "stats_project_developers"
- using btree ( "month" "int4_ops", "day" "int4_ops", "group_id" "int4_ops" );
-
-
-CREATE TABLE "stats_project_metric" (
- "month" integer DEFAULT 0 NOT NULL,
- "day" integer DEFAULT 0 NOT NULL,
- "ranking" integer DEFAULT 0 NOT NULL,
- "percentile" double precision DEFAULT 0 NOT NULL,
- "group_id" integer DEFAULT 0 NOT NULL
-);
-CREATE UNIQUE INDEX "statsprojectmetric_month_day_gr" on "stats_project_metric"
- using btree ( "month" "int4_ops", "day" "int4_ops", "group_id" "int4_ops" );
-
-
-CREATE TABLE "frs_dlstats_file_agg" (
- "month" integer,
- "day" integer,
- "file_id" integer,
- "downloads" integer
-);
-CREATE UNIQUE INDEX "frsdlfileagg_month_day_file" on "frs_dlstats_file_agg"
- using btree ( "month" "int4_ops", "day" "int4_ops", "file_id" "int4_ops" );
-
-
-CREATE TABLE "stats_subd_pages" (
- "month" integer DEFAULT 0 NOT NULL,
- "day" integer DEFAULT 0 NOT NULL,
- "group_id" integer DEFAULT 0 NOT NULL,
- "pages" integer DEFAULT 0 NOT NULL
-);
-CREATE UNIQUE INDEX "statssubdpages_month_day_group" on "stats_subd_pages"
- using btree ( "month" "int4_ops", "day" "int4_ops", "group_id" "int4_ops" );
-
-
-CREATE TABLE "stats_agg_logo_by_group" (
- "month" integer,
- "day" integer,
- "group_id" integer,
- "count" integer
-);
-CREATE UNIQUE INDEX "statslogobygroup_month_day_grou" on "stats_agg_logo_by_group"
- using btree ( "month" "int4_ops", "day" "int4_ops", "group_id" "int4_ops" );
-
-
-CREATE TABLE "stats_cvs_group" (
- "month" integer DEFAULT 0 NOT NULL,
- "day" integer DEFAULT 0 NOT NULL,
- "group_id" integer DEFAULT 0 NOT NULL,
- "checkouts" integer DEFAULT 0 NOT NULL,
- "commits" integer DEFAULT 0 NOT NULL,
- "adds" integer DEFAULT 0 NOT NULL
-);
-CREATE UNIQUE INDEX "statscvsgroup_month_day_group" on "stats_cvs_group"
- using btree ( "month" "int4_ops", "day" "int4_ops", "group_id" "int4_ops" );
-
-
-CREATE TABLE "stats_agg_site_by_group" (
- "month" integer,
- "day" integer,
- "group_id" integer,
- "count" integer
-);
-CREATE UNIQUE INDEX "statssitebygroup_month_day_grou" on "stats_agg_site_by_group"
- using btree ( "month" "int4_ops", "day" "int4_ops", "group_id" "int4_ops" );
-
-
-CREATE TABLE "stats_site_pages_by_day" (
- "month" integer,
- "day" integer,
- "site_page_views" integer
-);
-CREATE INDEX "statssitepagesbyday_month_day" on "stats_site_pages_by_day"
- using btree ( "month" "int4_ops", "day" "int4_ops" );
-
-
-CREATE TABLE "frs_package" (
- "package_id" integer DEFAULT nextval('frs_package_pk_seq'::text) NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- "name" text,
- "status_id" integer DEFAULT '0' NOT NULL,
- Constraint "frs_package_pkey" Primary Key ("package_id")
-);
-CREATE INDEX "package_group_id" on "frs_package" using btree ( "group_id" "int4_ops" );
-
-
-CREATE TABLE "frs_release" (
- "release_id" integer DEFAULT nextval('frs_release_pk_seq'::text) NOT NULL,
- "package_id" integer DEFAULT '0' NOT NULL,
- "name" text,
- "notes" text,
- "changes" text,
- "status_id" integer DEFAULT '0' NOT NULL,
- "preformatted" integer DEFAULT '0' NOT NULL,
- "release_date" integer DEFAULT '0' NOT NULL,
- "released_by" integer DEFAULT '0' NOT NULL,
- Constraint "frs_release_pkey" Primary Key ("release_id")
-);
-CREATE INDEX "frs_release_package" on "frs_release" using btree ( "package_id" "int4_ops" );
-
-
-CREATE TABLE "frs_file" (
- "file_id" integer DEFAULT nextval('frs_file_pk_seq'::text) NOT NULL,
- "filename" text,
- "release_id" integer DEFAULT '0' NOT NULL,
- "type_id" integer DEFAULT '0' NOT NULL,
- "processor_id" integer DEFAULT '0' NOT NULL,
- "release_time" integer DEFAULT '0' NOT NULL,
- "file_size" integer DEFAULT '0' NOT NULL,
- "post_date" integer DEFAULT '0' NOT NULL,
- Constraint "frs_file_pkey" Primary Key ("file_id")
-);
-CREATE INDEX "frs_file_date" on "frs_file" using btree ( "post_date" "int4_ops" );
-CREATE INDEX "frs_file_release_id" on "frs_file" using btree ( "release_id" "int4_ops" );
-
-
-CREATE TABLE "users" (
- "user_id" integer DEFAULT nextval('users_pk_seq'::text) NOT NULL,
- "user_name" text DEFAULT '' NOT NULL,
- "email" text DEFAULT '' NOT NULL,
- "user_pw" character varying(32) DEFAULT '' NOT NULL,
- "realname" character varying(32) DEFAULT '' NOT NULL,
- "status" character(1) DEFAULT 'A' NOT NULL,
- "shell" character varying(20) DEFAULT '/bin/bash' NOT NULL,
- "unix_pw" character varying(40) DEFAULT '' NOT NULL,
- "unix_status" character(1) DEFAULT 'N' NOT NULL,
- "unix_uid" integer DEFAULT '0' NOT NULL,
- "unix_box" character varying(10) DEFAULT 'shell1' NOT NULL,
- "add_date" integer DEFAULT '0' NOT NULL,
- "confirm_hash" character varying(32),
- "mail_siteupdates" integer DEFAULT '0' NOT NULL,
- "mail_va" integer DEFAULT '0' NOT NULL,
- "authorized_keys" text,
- "email_new" text,
- "people_view_skills" integer DEFAULT '0' NOT NULL,
- "people_resume" text DEFAULT '' NOT NULL,
- "timezone" character varying(64) DEFAULT 'GMT',
- "language" integer DEFAULT '1' NOT NULL,
- Constraint "users_pkey" Primary Key ("user_id")
-);
-CREATE UNIQUE INDEX "users_namename_uniq" on "users" using btree ( "user_name" "text_ops" );
-CREATE INDEX "users_status" on "users" using btree ( "status" "bpchar_ops" );
-CREATE INDEX "users_user_pw" on "users" using btree ( "user_pw" "varchar_ops" );
-
-
-CREATE TABLE "groups" (
- "group_id" integer DEFAULT nextval('groups_pk_seq'::text) NOT NULL,
- "group_name" character varying(40),
- "homepage" character varying(128),
- "is_public" integer DEFAULT '0' NOT NULL,
- "status" character(1) DEFAULT 'A' NOT NULL,
- "unix_group_name" character varying(30) DEFAULT '' NOT NULL,
- "unix_box" character varying(20) DEFAULT 'shell1' NOT NULL,
- "http_domain" character varying(80),
- "short_description" character varying(255),
- "cvs_box" character varying(20) DEFAULT 'cvs1' NOT NULL,
- "license" character varying(16),
- "register_purpose" text,
- "license_other" text,
- "register_time" integer DEFAULT '0' NOT NULL,
- "dead1" integer DEFAULT '1' NOT NULL,
- "rand_hash" text,
- "use_mail" integer DEFAULT '1' NOT NULL,
- "use_survey" integer DEFAULT '1' NOT NULL,
- "dead2" integer DEFAULT '1' NOT NULL,
- "use_forum" integer DEFAULT '1' NOT NULL,
- "use_pm" integer DEFAULT '1' NOT NULL,
- "use_cvs" integer DEFAULT '1' NOT NULL,
- "use_news" integer DEFAULT '1' NOT NULL,
- "dead3" integer DEFAULT '1' NOT NULL,
- "dead4" text DEFAULT '' NOT NULL,
- "dead5" text DEFAULT '' NOT NULL,
- "dead6" text DEFAULT '' NOT NULL,
- "type" integer DEFAULT '1' NOT NULL,
- "use_docman" integer DEFAULT '1' NOT NULL,
- "dead7" integer DEFAULT '0' NOT NULL,
- "dead8" integer DEFAULT '0' NOT NULL,
- "dead9" integer DEFAULT '0' NOT NULL,
- "new_task_address" text DEFAULT '' NOT NULL,
- "send_all_tasks" integer DEFAULT '0' NOT NULL,
- "dead10" integer DEFAULT '1' NOT NULL,
- "use_pm_depend_box" integer DEFAULT '1' NOT NULL,
- "dead11" integer,
- "dead12" integer,
- "dead13" integer,
- Constraint "groups_pkey" Primary Key ("group_id")
-);
-CREATE UNIQUE INDEX "group_unix_uniq" on "groups" using btree ( "unix_group_name" "varchar_ops" );
-CREATE INDEX "groups_type" on "groups" using btree ( "type" "int4_ops" );
-CREATE INDEX "groups_public" on "groups" using btree ( "is_public" "int4_ops" );
-CREATE INDEX "groups_status" on "groups" using btree ( "status" "bpchar_ops" );
-
-
-CREATE TABLE "frs_processor" (
- "processor_id" integer DEFAULT nextval('frs_processor_pk_seq'::text) NOT NULL,
- "name" text,
- Constraint "frs_processor_pkey" Primary Key ("processor_id")
-);
-
-
-CREATE TABLE "frs_filetype" (
- "type_id" integer DEFAULT nextval('frs_filetype_pk_seq'::text) NOT NULL,
- "name" text,
- Constraint "frs_filetype_pkey" Primary Key ("type_id")
-);
-
-
-CREATE TABLE "project_weekly_metric" (
- "ranking" integer DEFAULT nextval('project_weekly_metric_pk_seq'::text) NOT NULL,
- "percentile" double precision,
- "group_id" integer DEFAULT '0' NOT NULL,
- Constraint "project_weekly_metric_pkey" Primary Key ("ranking")
-);
-CREATE INDEX "projectweeklymetric_ranking" on "project_weekly_metric" using btree ( "ranking" "int4_ops" );
-CREATE INDEX "project_metric_weekly_group" on "project_weekly_metric" using btree ( "group_id" "int4_ops" );
-
-
-CREATE TABLE "trove_group_link" (
- "trove_group_id" integer DEFAULT nextval('trove_group_link_pk_seq'::text) NOT NULL,
- "trove_cat_id" integer DEFAULT '0' NOT NULL,
- "trove_cat_version" integer DEFAULT '0' NOT NULL,
- "group_id" integer DEFAULT '0' NOT NULL,
- "trove_cat_root" integer DEFAULT '0' NOT NULL,
- Constraint "trove_group_link_pkey" Primary Key ("trove_group_id")
-);
-CREATE INDEX "trove_group_link_group_id" on "trove_group_link" using btree ( "group_id" "int4_ops" );
-CREATE INDEX "trove_group_link_cat_id" on "trove_group_link" using btree ( "trove_cat_id" "int4_ops" );
-
-
-CREATE TABLE "trove_cat" (
- "trove_cat_id" integer DEFAULT nextval('trove_cat_pk_seq'::text) NOT NULL,
- "version" integer DEFAULT '0' NOT NULL,
- "parent" integer DEFAULT '0' NOT NULL,
- "root_parent" integer DEFAULT '0' NOT NULL,
- "shortname" character varying(80),
- "fullname" character varying(80),
- "description" character varying(255),
- "count_subcat" integer DEFAULT '0' NOT NULL,
- "count_subproj" integer DEFAULT '0' NOT NULL,
- "fullpath" text DEFAULT '' NOT NULL,
- "fullpath_ids" text,
- Constraint "trove_cat_pkey" Primary Key ("trove_cat_id")
-);
-CREATE INDEX "parent_idx" on "trove_cat" using btree ( "parent" "int4_ops" );
-CREATE INDEX "root_parent_idx" on "trove_cat" using btree ( "root_parent" "int4_ops" );
-CREATE INDEX "version_idx" on "trove_cat" using btree ( "version" "int4_ops" );
-
-
-CREATE SEQUENCE "trove_treesums_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-CREATE TABLE "trove_treesums" (
- "trove_treesums_id" integer DEFAULT nextval('trove_treesums_pk_seq'::text) NOT NULL,
- "trove_cat_id" integer DEFAULT '0' NOT NULL,
- "limit_1" integer DEFAULT '0' NOT NULL,
- "subprojects" integer DEFAULT '0' NOT NULL,
- Constraint "trove_treesums_pkey" Primary Key ("trove_treesums_id")
-);
-
-CREATE TABLE "foundry_projects" (
- "id" integer DEFAULT nextval('foundry_projects_pk_seq'::text) NOT NULL,
- "foundry_id" integer DEFAULT '0' NOT NULL,
- "project_id" integer DEFAULT '0' NOT NULL,
- Constraint "foundry_projects_pkey" Primary Key ("id")
-);
-CREATE INDEX "foundry_projects_foundry" on "foundry_projects" using btree (
-"foundry_id" "int4_ops" );
-
-COPY foundry_projects WITH oids from '/home/tperdue/dumpfiles/foundry_projects.dump';
-COPY stats_site WITH OIDS FROM '/home/tperdue/dumpfiles/stats_site.dump';
-COPY stats_project WITH OIDS FROM '/home/tperdue/dumpfiles/stats_project.dump';
-COPY stats_project_developers WITH OIDS FROM '/home/tperdue/dumpfiles/stats_project_developers.dump';
-COPY stats_project_metric WITH OIDS FROM '/home/tperdue/dumpfiles/stats_project_metric.dump';
-COPY frs_dlstats_file_agg WITH OIDS FROM '/home/tperdue/dumpfiles/frs_dlstats_file_agg.dump';
-COPY stats_subd_pages WITH OIDS FROM '/home/tperdue/dumpfiles/stats_subd_pages.dump';
-COPY stats_agg_logo_by_group WITH OIDS FROM '/home/tperdue/dumpfiles/stats_agg_logo_by_group.dump';
-COPY stats_cvs_group WITH OIDS FROM '/home/tperdue/dumpfiles/stats_cvs_group.dump';
-COPY stats_agg_site_by_group WITH OIDS FROM '/home/tperdue/dumpfiles/stats_agg_site_by_group.dump';
-COPY stats_site_pages_by_day WITH OIDS FROM '/home/tperdue/dumpfiles/stats_site_pages_by_day.dump';
-COPY frs_package WITH OIDS FROM '/home/tperdue/dumpfiles/frs_package.dump';
-COPY frs_release WITH OIDS FROM '/home/tperdue/dumpfiles/frs_release.dump';
-COPY frs_processor WITH OIDS FROM '/home/tperdue/dumpfiles/frs_processor.dump';
-COPY frs_filetype WITH OIDS FROM '/home/tperdue/dumpfiles/frs_filetype.dump';
-COPY frs_file WITH OIDS FROM '/home/tperdue/dumpfiles/frs_file.dump';
-COPY users WITH OIDS FROM '/home/tperdue/dumpfiles/users.dump';
-COPY groups WITH OIDS FROM '/home/tperdue/dumpfiles/groups.dump';
-COPY project_weekly_metric WITH OIDS FROM '/home/tperdue/dumpfiles/project_weekly_metric.dump';
-COPY trove_cat WITH OIDS FROM '/home/tperdue/dumpfiles/trove_cat.dump';
-COPY trove_group_link WITH OIDS FROM '/home/tperdue/dumpfiles/trove_group_link.dump';
-
-drop index project_weekly_metric_pkey;
-
-CREATE UNIQUE INDEX statssite_oid ON stats_site(oid);
-CREATE UNIQUE INDEX statsproject_oid ON stats_project(oid);
-CREATE UNIQUE INDEX statsprojectdevelop_oid ON stats_project_developers(oid);
-CREATE UNIQUE INDEX statsprojectmetric_oid ON stats_project_metric(oid);
-CREATE UNIQUE INDEX frsdlfileagg_oid ON frs_dlstats_file_agg(oid);
-CREATE UNIQUE INDEX statssubdpages_oid ON stats_subd_pages(oid);
-CREATE UNIQUE INDEX statsagglogobygrp_oid ON stats_agg_logo_by_group(oid);
-CREATE UNIQUE INDEX statscvsgrp_oid ON stats_cvs_group(oid);
-CREATE UNIQUE INDEX statsaggsitebygrp_oid ON stats_agg_site_by_group(oid);
-CREATE UNIQUE INDEX statssitepgsbyday_oid ON stats_site_pages_by_day(oid);
Deleted: trunk/gforge_base/evolvisforge-5.1/gforge/db/replication.plan
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/db/replication.plan 2011-02-24 14:55:48 UTC (rev 8039)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/db/replication.plan 2011-02-24 14:55:50 UTC (rev 8040)
@@ -1,54 +0,0 @@
-#
-# SourceForge: Breaking Down the Barriers to Open Source Development
-# Copyright 1999-2001 (c) VA Linux Systems
-# http://sourceforge.net
-#
-# $Id: replication.plan,v 1.3 2001/06/19 16:50:06 jbyers Exp $
-#
-
-Replicate Tables:
-
-stats_site
-stats_project
-stats_project_developers
-stats_project_metric
-frs_dlstats_file_agg
-stats_subd_pages
-stats_agg_logo_by_group
-stats_cvs_group
-stats_agg_site_by_group
-stats_site_pages_by_day
-
-project_weekly_metric
-trove_cat
-trove_group_link
-
-frs_package
-frs_release
-frs_file
-frs_processor
-frs_filetype
-users
-groups
-
-foundry_projects
-
-Slave-only tables:
-
-frs_dlstats_filetotal_agg
-frs_dlstats_grouptotal_agg
-frs_dlstats_group_agg
-stats_project_months
-stats_project_all
-stats_project_last_30
-stats_project_developers_last30
-stats_site_pages_by_month
-stats_site_last_30
-stats_site_months
-stats_site_all
-
-trove_agg
-trove_treesums
-
-foundry_project_rankings_agg
-foundry_project_downloads_agg
Deleted: trunk/gforge_base/evolvisforge-5.1/gforge/db/trove_cat.tab
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/db/trove_cat.tab 2011-02-24 14:55:48 UTC (rev 8039)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/db/trove_cat.tab 2011-02-24 14:55:50 UTC (rev 8040)
@@ -1,305 +0,0 @@
-1 2000031601 0 0 audience Intended Audience The main class of people likely to be interested in this resource. 0 0 Intended Audience 1
-2 2000032401 1 1 endusers End Users/Desktop Programs and resources for software end users. Software for the desktop. 0 0 Intended Audience :: End Users/Desktop 1 :: 2
-3 2000041101 1 1 developers Developers Programs and resources for software developers, to include libraries. 0 0 Intended Audience :: Developers 1 :: 3
-4 2000031601 1 1 sysadmins System Administrators Programs and resources for people who administer computers and networks. 0 0 Intended Audience :: System Administrators 1 :: 4
-5 2000040701 1 1 other Other Audience Programs and resources for an unlisted audience. 0 0 Intended Audience :: Other Audience 1 :: 5
-6 2000031601 0 0 developmentstatus Development Status An indication of the development status of the software or resource. 0 0 Development Status 6
-7 2000040701 6 6 planning 1 - Planning This resource is in the planning stages only. There is no code. 0 0 Development Status :: 1 - Planning 6 :: 7
-8 2000040701 6 6 prealpha 2 - Pre-Alpha There is code for this project, but it is not usable except for further development. 0 0 Development Status :: 2 - Pre-Alpha 6 :: 8
-9 2000041101 6 6 alpha 3 - Alpha Resource is in early development, and probably incomplete and/or extremely buggy. 0 0 Development Status :: 3 - Alpha 6 :: 9
-10 2000040701 6 6 beta 4 - Beta Resource is in late phases of development. Deliverables are essentially complete, but may still have significant bugs. 0 0 Development Status :: 4 - Beta 6 :: 10
-11 2000040701 6 6 production 5 - Production/Stable Deliverables are complete and usable by the intended audience. 0 0 Development Status :: 5 - Production/Stable 6 :: 11
-12 2000040701 6 6 mature 6 - Mature This resource has an extensive history of successful use and has probably undergone several stable revisions. 0 0 Development Status :: 6 - Mature 6 :: 12
-13 2000031601 0 0 license License License terms under which the resource is distributed. 0 0 License 13
-197 2000032001 13 13 publicdomain Public Domain Public Domain. No author-retained rights. 0 0 License :: Public Domain 13 :: 197
-196 2000040701 13 13 other Other/Proprietary License Non OSI-Approved/Proprietary license. 0 0 License :: Other/Proprietary License 13 :: 196
-14 2000032401 13 13 osi OSI Approved Licenses that have been approved by OSI as approved 0 0 License :: OSI Approved 13 :: 14
-303 2001041701 14 13 nethack Nethack General Public License Nethack General Public License 0 0 License :: OSI Approved :: Nethack General Public License 13 :: 14 :: 303
-141 2000032001 136 18 clustering Clustering/Distributed Networks Tools for automatically distributing computation across a network. 0 0 Topic :: System :: Clustering/Distributed Networks 18 :: 136 :: 141
-139 2000032001 136 18 boot Boot Programs for bootstrapping your OS. 0 0 Topic :: System :: Boot 18 :: 136 :: 139
-140 2000032001 139 18 init Init Init-time programs to start system services after boot. 0 0 Topic :: System :: Boot :: Init 18 :: 136 :: 139 :: 140
-138 2000032001 136 18 benchmark Benchmark Programs for benchmarking system performance. 0 0 Topic :: System :: Benchmark 18 :: 136 :: 138
-74 2000042701 136 18 emulators Emulators Emulations of foreign operating systme and machines. 0 0 Topic :: System :: Emulators 18 :: 136 :: 74
-19 2000032001 136 18 archiving Archiving Tools for maintaining and searching software or document archives. 0 0 Topic :: System :: Archiving 18 :: 136 :: 19
-137 2000032001 19 18 backup Backup Programs to manage and sequence system backup. 0 0 Topic :: System :: Archiving :: Backup 18 :: 136 :: 19 :: 137
-42 2000031601 19 18 compression Compression Tools and libraries for data compression. 0 0 Topic :: System :: Archiving :: Compression 18 :: 136 :: 19 :: 42
-41 2000031601 19 18 packaging Packaging Tools for packing and unpacking multi-file formats. Includes data-only formats and software package systems. 0 0 Topic :: System :: Archiving :: Packaging 18 :: 136 :: 19 :: 41
-132 2000032001 18 18 religion Religion Programs relating to religion and sacred texts. 0 0 Topic :: Religion 18 :: 132
-129 2000031701 18 18 office Office/Business Software for assisting and organizing work at your desk. 0 0 Topic :: Office/Business 18 :: 129
-131 2000032001 129 18 suites Office Suites Integrated office suites (word processing, presentation, spreadsheet, database, etc). 0 0 Topic :: Office/Business :: Office Suites 18 :: 129 :: 131
-130 2000031701 129 18 scheduling Scheduling Projects for scheduling time, to include project management. 0 0 Topic :: Office/Business :: Scheduling 18 :: 129 :: 130
-75 2000031701 129 18 financial Financial Programs related to finance. 0 0 Topic :: Office/Business :: Financial 18 :: 129 :: 75
-79 2000031601 75 18 pointofsale Point-Of-Sale Point-Of-Sale applications. 0 0 Topic :: Office/Business :: Financial :: Point-Of-Sale 18 :: 129 :: 75 :: 79
-78 2000031601 75 18 spreadsheet Spreadsheet Spreadsheet applications. 0 0 Topic :: Office/Business :: Financial :: Spreadsheet 18 :: 129 :: 75 :: 78
-77 2000031601 75 18 investment Investment Programs for assisting in financial investment. 0 0 Topic :: Office/Business :: Financial :: Investment 18 :: 129 :: 75 :: 77
-76 2000031601 75 18 accounting Accounting Checkbook balancers and accounting programs. 0 0 Topic :: Office/Business :: Financial :: Accounting 18 :: 129 :: 75 :: 76
-234 2000040701 18 18 other Other/Nonlisted Topic Topic does not fit into any listed category. 0 0 Topic :: Other/Nonlisted Topic 18 :: 234
-156 2000032001 18 18 terminals Terminals Terminal emulators, terminal programs, and terminal session utilities. 0 0 Topic :: Terminals 18 :: 156
-159 2000032001 156 18 telnet Telnet Support for telnet; terminal sessions across Internet links. 0 0 Topic :: Terminals :: Telnet 18 :: 156 :: 159
-158 2000032001 156 18 virtual Terminal Emulators/X Terminals Programs to handle multiple terminal sessions. Includes terminal emulations for X and other window systems. 0 0 Topic :: Terminals :: Terminal Emulators/X Terminals 18 :: 156 :: 158
-157 2000032001 156 18 serial Serial Dialup, terminal emulation, and file transfer over serial lines. 0 0 Topic :: Terminals :: Serial 18 :: 156 :: 157
-115 2000031701 113 18 capture Capture/Recording Sound capture and recording. 0 0 Topic :: Multimedia :: Sound/Audio :: Capture/Recording 18 :: 99 :: 113 :: 115
-114 2000031701 113 18 analysis Analysis Sound analysis tools, to include frequency analysis. 0 0 Topic :: Multimedia :: Sound/Audio :: Analysis 18 :: 99 :: 113 :: 114
-100 2000031601 99 18 graphics Graphics Tools and resources for computer graphics. 0 0 Topic :: Multimedia :: Graphics 18 :: 99 :: 100
-112 2000031701 100 18 viewers Viewers Programs that can display various graphics formats. 0 0 Topic :: Multimedia :: Graphics :: Viewers 18 :: 99 :: 100 :: 112
-111 2000031701 100 18 presentation Presentation Tools for generating presentation graphics and slides. 0 0 Topic :: Multimedia :: Graphics :: Presentation 18 :: 99 :: 100 :: 111
-110 2000031701 100 18 3drendering 3D Rendering Programs which render 3D models. 0 0 Topic :: Multimedia :: Graphics :: 3D Rendering 18 :: 99 :: 100 :: 110
-109 2000031701 100 18 3dmodeling 3D Modeling Programs for working with 3D Models. 0 0 Topic :: Multimedia :: Graphics :: 3D Modeling 18 :: 99 :: 100 :: 109
-106 2000031701 100 18 editors Editors Drawing, painting, and structured editing programs. 0 0 Topic :: Multimedia :: Graphics :: Editors 18 :: 99 :: 100 :: 106
-108 2000031701 106 18 raster Raster-Based Raster/Bitmap based drawing programs. 0 0 Topic :: Multimedia :: Graphics :: Editors :: Raster-Based 18 :: 99 :: 100 :: 106 :: 108
-107 2000031701 106 18 vector Vector-Based Vector-Based drawing programs. 0 0 Topic :: Multimedia :: Graphics :: Editors :: Vector-Based 18 :: 99 :: 100 :: 106 :: 107
-105 2000031701 100 18 conversion Graphics Conversion Programs which convert between graphics formats. 0 0 Topic :: Multimedia :: Graphics :: Graphics Conversion 18 :: 99 :: 100 :: 105
-101 2000031601 100 18 capture Capture Support for scanners, cameras, and screen capture. 0 0 Topic :: Multimedia :: Graphics :: Capture 18 :: 99 :: 100 :: 101
-104 2000031601 101 18 screencapture Screen Capture Screen capture tools and processors. 0 0 Topic :: Multimedia :: Graphics :: Capture :: Screen Capture 18 :: 99 :: 100 :: 101 :: 104
-103 2000031601 101 18 cameras Digital Camera Digital Camera 0 0 Topic :: Multimedia :: Graphics :: Capture :: Digital Camera 18 :: 99 :: 100 :: 101 :: 103
-102 2000031601 101 18 scanners Scanners Support for graphic scanners. 0 0 Topic :: Multimedia :: Graphics :: Capture :: Scanners 18 :: 99 :: 100 :: 101 :: 102
-154 2000032001 18 18 printing Printing Tools, daemons, and utilities for printer control. 0 0 Topic :: Printing 18 :: 154
-136 2000032001 18 18 system System Operating system core and administration utilities. 0 0 Topic :: System 18 :: 136
-294 2001032001 136 18 shells System Shells System Shells 0 0 Topic :: System :: System Shells 18 :: 136 :: 294
-257 2000071101 136 18 softwaredist Software Distribution Systems software for distributing other software. 0 0 Topic :: System :: Software Distribution 18 :: 136 :: 257
-253 2000071101 136 18 sysadministration Systems Administration Systems Administration Software (e.g. configuration apps.) 0 0 Topic :: System :: Systems Administration 18 :: 136 :: 253
-289 2001032001 253 18 authentication Authentication/Directory Authentication and directory services 0 0 Topic :: System :: Systems Administration :: Authentication/Directory 18 :: 136 :: 253 :: 289
-291 2001032001 289 18 ldap LDAP Leightweight directory access protocol 0 0 Topic :: System :: Systems Administration :: Authentication/Directory :: LDAP 18 :: 136 :: 253 :: 289 :: 291
-290 2001032001 289 18 nis NIS NIS services 0 0 Topic :: System :: Systems Administration :: Authentication/Directory :: NIS 18 :: 136 :: 253 :: 289 :: 290
-153 2000032001 136 18 power Power (UPS) Code for communication with uninterruptible power supplies. 0 0 Topic :: System :: Power (UPS) 18 :: 136 :: 153
-150 2000032001 136 18 networking Networking Network configuration and administration. 0 0 Topic :: System :: Networking 18 :: 136 :: 150
-152 2000032001 150 18 monitoring Monitoring System monitoring, traffic analysis, and sniffers. 0 0 Topic :: System :: Networking :: Monitoring 18 :: 136 :: 150 :: 152
-155 2000032001 152 18 watchdog Hardware Watchdog Software to monitor and perform actions or shutdown on hardware trouble detection. 0 0 Topic :: System :: Networking :: Monitoring :: Hardware Watchdog 18 :: 136 :: 150 :: 152 :: 155
-151 2000032001 150 18 firewalls Firewalls Firewalls and filtering systems. 0 0 Topic :: System :: Networking :: Firewalls 18 :: 136 :: 150 :: 151
-148 2000032001 136 18 logging Logging Utilities for clearing, rotating, and digesting system logs. 0 0 Topic :: System :: Logging 18 :: 136 :: 148
-147 2000032001 136 18 setup Installation/Setup Tools for installation and setup of the operating system and other programs. 0 0 Topic :: System :: Installation/Setup 18 :: 136 :: 147
-146 2000032001 136 18 hardware Hardware Tools for direct, non-kernel control and configuration of hardware. 0 0 Topic :: System :: Hardware 18 :: 136 :: 146
-292 2001032001 146 18 drivers Hardware Drivers Hardware Drivers 0 0 Topic :: System :: Hardware :: Hardware Drivers 18 :: 136 :: 146 :: 292
-144 2000032001 136 18 kernels Operating System Kernels OS Kernels, patches, modules, and tools. 0 0 Topic :: System :: Operating System Kernels 18 :: 136 :: 144
-239 2000041301 144 18 gnuhurd GNU Hurd Kernel code and modules for GNU Hurd. 0 0 Topic :: System :: Operating System Kernels :: GNU Hurd 18 :: 136 :: 144 :: 239
-145 2000032001 144 18 bsd BSD Code relating to any of the BSD kernels. 0 0 Topic :: System :: Operating System Kernels :: BSD 18 :: 136 :: 144 :: 145
-143 2000032001 144 18 linux Linux The Linux kernel, patches, and modules. 0 0 Topic :: System :: Operating System Kernels :: Linux 18 :: 136 :: 144 :: 143
-142 2000032001 136 18 filesystems Filesystems Support for creating, editing, reading, and writing file systems. 0 0 Topic :: System :: Filesystems 18 :: 136 :: 142
-287 2001032001 80 18 boardgames Board Games Board Games 0 0 Topic :: Games/Entertainment :: Board Games 18 :: 80 :: 287
-268 2000082101 80 18 Puzzles Puzzle Games Puzzle Games 0 0 Topic :: Games/Entertainment :: Puzzle Games 18 :: 80 :: 268
-86 2000031601 80 18 mud Multi-User Dungeons (MUD) Massively-multiplayer text based games. 0 0 Topic :: Games/Entertainment :: Multi-User Dungeons (MUD) 18 :: 80 :: 86
-85 2000031601 80 18 simulation Simulation Simulation games 0 0 Topic :: Games/Entertainment :: Simulation 18 :: 80 :: 85
-84 2000031601 80 18 rpg Role-Playing Role-Playing games 0 0 Topic :: Games/Entertainment :: Role-Playing 18 :: 80 :: 84
-83 2000032401 80 18 turnbasedstrategy Turn Based Strategy Turn Based Strategy 0 0 Topic :: Games/Entertainment :: Turn Based Strategy 18 :: 80 :: 83
-82 2000031601 80 18 firstpersonshooters First Person Shooters First Person Shooters. 0 0 Topic :: Games/Entertainment :: First Person Shooters 18 :: 80 :: 82
-81 2000031601 80 18 realtimestrategy Real Time Strategy Real Time strategy games 0 0 Topic :: Games/Entertainment :: Real Time Strategy 18 :: 80 :: 81
-288 2001032001 80 18 sidescrolling Side-Scrolling/Arcade Games Arcade-style side-scrolling games 0 0 Topic :: Games/Entertainment :: Side-Scrolling/Arcade Games 18 :: 80 :: 288
-71 2000031601 18 18 education Education Programs and tools for educating yourself or others. 0 0 Topic :: Education 18 :: 71
-73 2000031601 71 18 testing Testing Tools for testing someone's knowledge on a subject. 0 0 Topic :: Education :: Testing 18 :: 71 :: 73
-72 2000031601 71 18 cai Computer Aided Instruction (CAI) Programs for authoring or using Computer Aided Instrution courses. 0 0 Topic :: Education :: Computer Aided Instruction (CAI) 18 :: 71 :: 72
-66 2000031601 18 18 database Database Front ends, engines, and tools for database work. 0 0 Topic :: Database 18 :: 66
-68 2000031601 66 18 frontends Front-Ends Clients and front-ends for generating queries to database engines. 0 0 Topic :: Database :: Front-Ends 18 :: 66 :: 68
-67 2000031601 66 18 engines Database Engines/Servers Programs that manage data and provide control via some query language. 0 0 Topic :: Database :: Database Engines/Servers 18 :: 66 :: 67
-63 2000032001 18 18 editors Text Editors Programs for editing code and documents. 0 0 Topic :: Text Editors 18 :: 63
-285 2001032001 63 18 textprocessing Text Processing Programs or libraries that are designed to batch process text documents 0 0 Topic :: Text Editors :: Text Processing 18 :: 63 :: 285
-70 2000031601 63 18 wordprocessors Word Processors WYSIWYG word processors. 0 0 Topic :: Text Editors :: Word Processors 18 :: 63 :: 70
-69 2000031601 63 18 documentation Documentation Tools for the creation and use of documentation. 0 0 Topic :: Text Editors :: Documentation 18 :: 63 :: 69
-65 2000031601 63 18 ide Integrated Development Environments (IDE) Complete editing environments for code, including cababilities such as compilation and code building assistance. 0 0 Topic :: Text Editors :: Integrated Development Environments (IDE) 18 :: 63 :: 65
-64 2000031601 63 18 emacs Emacs GNU Emacs and its imitators and tools. 0 0 Topic :: Text Editors :: Emacs 18 :: 63 :: 64
-125 2000031701 99 18 video Video Video capture, editing, and playback. 0 0 Topic :: Multimedia :: Video 18 :: 99 :: 125
-126 2000031701 125 18 capture Capture Video capture tools. 0 0 Topic :: Multimedia :: Video :: Capture 18 :: 99 :: 125 :: 126
-256 2000071101 125 18 nonlineareditor Non-Linear Editor Video Non-Linear Editors 0 0 Topic :: Multimedia :: Video :: Non-Linear Editor 18 :: 99 :: 125 :: 256
-128 2000031701 125 18 display Display Programs which display various video formats. 0 0 Topic :: Multimedia :: Video :: Display 18 :: 99 :: 125 :: 128
-127 2000031701 125 18 conversion Conversion Programs which convert between video formats. 0 0 Topic :: Multimedia :: Video :: Conversion 18 :: 99 :: 125 :: 127
-113 2000031701 99 18 sound Sound/Audio Tools for generating, editing, analyzing, and playing sound. 0 0 Topic :: Multimedia :: Sound/Audio 18 :: 99 :: 113
-249 2000042801 113 18 synthesis Sound Synthesis Software for creation and synthesis of sound. 0 0 Topic :: Multimedia :: Sound/Audio :: Sound Synthesis 18 :: 99 :: 113 :: 249
-248 2000042801 113 18 midi MIDI Software related to MIDI synthesis and playback. 0 0 Topic :: Multimedia :: Sound/Audio :: MIDI 18 :: 99 :: 113 :: 248
-124 2000031701 113 18 speech Speech Speech manipulation and intepretation tools. 0 0 Topic :: Multimedia :: Sound/Audio :: Speech 18 :: 99 :: 113 :: 124
-122 2000031701 113 18 players Players Programs to play audio files to a sound device. 0 0 Topic :: Multimedia :: Sound/Audio :: Players 18 :: 99 :: 113 :: 122
-123 2000031701 122 18 mp3 MP3 Programs to play MP3 audio files. 0 0 Topic :: Multimedia :: Sound/Audio :: Players :: MP3 18 :: 99 :: 113 :: 122 :: 123
-121 2000031701 113 18 mixers Mixers Programs to mix audio. 0 0 Topic :: Multimedia :: Sound/Audio :: Mixers 18 :: 99 :: 113 :: 121
-120 2000031701 113 18 editors Editors Programs to edit/manipulate sound data. 0 0 Topic :: Multimedia :: Sound/Audio :: Editors 18 :: 99 :: 113 :: 120
-119 2000031701 113 18 conversion Conversion Programs to convert between audio formats. 0 0 Topic :: Multimedia :: Sound/Audio :: Conversion 18 :: 99 :: 113 :: 119
-116 2000031701 113 18 cdaudio CD Audio Programs to play and manipulate audio CDs. 0 0 Topic :: Multimedia :: Sound/Audio :: CD Audio 18 :: 99 :: 113 :: 116
-88 2000031601 87 18 finger Finger The Finger protocol for getting information about users. 0 0 Topic :: Internet :: Finger 18 :: 87 :: 88
-118 2000031701 116 18 cdripping CD Ripping Software to convert CD Audio to other digital formats. 0 0 Topic :: Multimedia :: Sound/Audio :: CD Audio :: CD Ripping 18 :: 99 :: 113 :: 116 :: 118
-117 2000031701 116 18 cdplay CD Playing CD Playing software, to include jukebox software. 0 0 Topic :: Multimedia :: Sound/Audio :: CD Audio :: CD Playing 18 :: 99 :: 113 :: 116 :: 117
-260 2000071401 52 18 SCCS SCCS SCCS 0 0 Topic :: Software Development :: Version Control :: SCCS 18 :: 45 :: 52 :: 260
-54 2000031601 52 18 rcs RCS Tools for RCS (Revision Control System). 0 0 Topic :: Software Development :: Version Control :: RCS 18 :: 45 :: 52 :: 54
-53 2000031601 52 18 cvs CVS Tools for CVS (Concurrent Versioning System). 0 0 Topic :: Software Development :: Version Control :: CVS 18 :: 45 :: 52 :: 53
-50 2000031601 45 18 objectbrokering Object Brokering Object brokering libraries and tools. 0 0 Topic :: Software Development :: Object Brokering 18 :: 45 :: 50
-51 2000031601 50 18 corba CORBA Tools for implementation and use of CORBA. 0 0 Topic :: Software Development :: Object Brokering :: CORBA 18 :: 45 :: 50 :: 51
-49 2000031601 45 18 interpreters Interpreters Programs for interpreting and executing high-level languages directly. 0 0 Topic :: Software Development :: Interpreters 18 :: 45 :: 49
-48 2000031601 45 18 compilers Compilers Programs for compiling high-level languges into machine code. 0 0 Topic :: Software Development :: Compilers 18 :: 45 :: 48
-47 2000031601 45 18 debuggers Debuggers Programs for controlling and monitoring the execution of compiled binaries. 0 0 Topic :: Software Development :: Debuggers 18 :: 45 :: 47
-46 2000031601 45 18 build Build Tools Software for the build process. 0 0 Topic :: Software Development :: Build Tools 18 :: 45 :: 46
-43 2000031601 18 18 security Security Security-related software, to include system administration and cryptography. 0 0 Topic :: Security 18 :: 43
-44 2000031601 43 18 cryptography Cryptography Cryptography programs, algorithms, and libraries. 0 0 Topic :: Security :: Cryptography 18 :: 43 :: 44
-97 2000042701 18 18 scientific Scientific/Engineering Scientific applications, to include research, applied and pure mathematics and sciences. 0 0 Topic :: Scientific/Engineering 18 :: 97
-98 2000031601 97 18 mathematics Mathematics Software to support pure and applied mathematics. 0 0 Topic :: Scientific/Engineering :: Mathematics 18 :: 97 :: 98
-272 2000100501 97 18 HMI Human Machine Interfaces This applies to the Factory/Machine control/Automation fields where there are already thousands of applications and millions of installations. 0 0 Topic :: Scientific/Engineering :: Human Machine Interfaces 18 :: 97 :: 272
-266 2000081601 97 18 medical Medical Science Apps. Medical / BioMedical Science Apps. 0 0 Topic :: Scientific/Engineering :: Medical Science Apps. 18 :: 97 :: 266
-252 2000071101 97 18 bioinformatics Bio-Informatics Category for gene software (e.g. Gene Ontology) 0 0 Topic :: Scientific/Engineering :: Bio-Informatics 18 :: 97 :: 252
-246 2000042701 97 18 eda Electronic Design Automation (EDA) Tools for circuit design, schematics, board layout, and more. 0 0 Topic :: Scientific/Engineering :: Electronic Design Automation (EDA) 18 :: 97 :: 246
-135 2000032001 97 18 visualization Visualization Software for scientific visualization. 0 0 Topic :: Scientific/Engineering :: Visualization 18 :: 97 :: 135
-134 2000032001 97 18 astronomy Astronomy Software and tools related to astronomy. 0 0 Topic :: Scientific/Engineering :: Astronomy 18 :: 97 :: 134
-133 2000032001 97 18 ai Artificial Intelligence Artificial Intelligence. 0 0 Topic :: Scientific/Engineering :: Artificial Intelligence 18 :: 97 :: 133
-87 2000031601 18 18 internet Internet Tools to assist human access to the Internet. 0 0 Topic :: Internet 18 :: 87
-270 2000083101 87 18 WAP WAP Wireless Access Protocol 0 0 Topic :: Internet :: WAP 18 :: 87 :: 270
-245 2000042701 87 18 loganalysis Log Analysis Software to help analyze various log files. 0 0 Topic :: Internet :: Log Analysis 18 :: 87 :: 245
-149 2000032001 87 18 dns Name Service (DNS) Domain name system servers and utilities. 0 0 Topic :: Internet :: Name Service (DNS) 18 :: 87 :: 149
-90 2000031601 87 18 www WWW/HTTP Programs and tools for the World Wide Web. 0 0 Topic :: Internet :: WWW/HTTP 18 :: 87 :: 90
-250 2000042801 90 18 httpservers HTTP Servers Software designed to serve content via the HTTP protocol. 0 0 Topic :: Internet :: WWW/HTTP :: HTTP Servers 18 :: 87 :: 90 :: 250
-243 2000042701 90 18 sitemanagement Site Management Tools for maintanance and management of web sites. 0 0 Topic :: Internet :: WWW/HTTP :: Site Management 18 :: 87 :: 90 :: 243
-244 2000042701 243 18 linkchecking Link Checking Tools to assist in checking for broken links. 0 0 Topic :: Internet :: WWW/HTTP :: Site Management :: Link Checking 18 :: 87 :: 90 :: 243 :: 244
-93 2000031601 90 18 indexing Indexing/Search Indexing and search tools for the Web. 0 0 Topic :: Internet :: WWW/HTTP :: Indexing/Search 18 :: 87 :: 90 :: 93
-92 2000031601 90 18 dynamic Dynamic Content Common Gateway Interface scripting and server-side parsing. 0 0 Topic :: Internet :: WWW/HTTP :: Dynamic Content 18 :: 87 :: 90 :: 92
-96 2000031601 92 18 cgi CGI Tools/Libraries Tools for the Common Gateway Interface 0 0 Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries 18 :: 87 :: 90 :: 92 :: 96
-95 2000031601 92 18 messageboards Message Boards Online message boards 0 0 Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Message Boards 18 :: 87 :: 90 :: 92 :: 95
-94 2000031601 92 18 counters Page Counters Scripts to count numbers of pageviews. 0 0 Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Page Counters 18 :: 87 :: 90 :: 92 :: 94
-91 2000031601 90 18 browsers Browsers Web Browsers 0 0 Topic :: Internet :: WWW/HTTP :: Browsers 18 :: 87 :: 90 :: 91
-89 2000031601 87 18 ftp File Transfer Protocol (FTP) Programs and tools for file transfer via FTP. 0 0 Topic :: Internet :: File Transfer Protocol (FTP) 18 :: 87 :: 89
-80 2000031601 18 18 games Games/Entertainment Games and Entertainment software. 0 0 Topic :: Games/Entertainment 18 :: 80
-18 2000031601 0 0 topic Topic Topic categorization. 0 0 Topic 18
-20 2000032401 18 18 communications Communications Programs intended to facilitate communication between people. 0 0 Topic :: Communications 18 :: 20
-27 2000031601 20 18 conferencing Conferencing Software to support real-time conferencing over the Internet. 0 0 Topic :: Communications :: Conferencing 18 :: 20 :: 27
-22 2000031601 20 18 chat Chat Programs to support real-time communication over the Internet. 0 0 Topic :: Communications :: Chat 18 :: 20 :: 22
-26 2000031601 22 18 aim AOL Instant Messanger Programs to support AOL Instant Messanger. 0 0 Topic :: Communications :: Chat :: AOL Instant Messanger 18 :: 20 :: 22 :: 26
-25 2000031601 22 18 talk Unix Talk Programs to support Unix Talk protocol. 0 0 Topic :: Communications :: Chat :: Unix Talk 18 :: 20 :: 22 :: 25
-24 2000041101 22 18 irc Internet Relay Chat Programs to support Internet Relay Chat. 0 0 Topic :: Communications :: Chat :: Internet Relay Chat 18 :: 20 :: 22 :: 24
-23 2000031601 22 18 icq ICQ Programs to support ICQ. 0 0 Topic :: Communications :: Chat :: ICQ 18 :: 20 :: 22 :: 23
-21 2000031601 20 18 bbs BBS Bulletin Board systems. 0 0 Topic :: Communications :: BBS 18 :: 20 :: 21
-251 2000050101 20 18 filesharing File Sharing Software for person-to-person online file sharing. 0 0 Topic :: Communications :: File Sharing 18 :: 20 :: 251
-241 2000050101 251 18 napster Napster Clients and servers for the Napster file sharing protocol. 0 0 Topic :: Communications :: File Sharing :: Napster 18 :: 20 :: 251 :: 241
-286 2001032001 251 18 gnutella Gnutella Projects based around the gnutella protocol. 0 0 Topic :: Communications :: File Sharing :: Gnutella 18 :: 20 :: 251 :: 286
-247 2000042701 20 18 telephony Telephony Telephony related applications, to include automated voice response systems. 0 0 Topic :: Communications :: Telephony 18 :: 20 :: 247
-40 2000031601 20 18 internetphone Internet Phone Software to support real-time speech communication over the Internet. 0 0 Topic :: Communications :: Internet Phone 18 :: 20 :: 40
-39 2000031601 20 18 usenet Usenet News Software to support USENET news. 0 0 Topic :: Communications :: Usenet News 18 :: 20 :: 39
-38 2000031601 20 18 hamradio Ham Radio Tools and resources for amateur radio. 0 0 Topic :: Communications :: Ham Radio 18 :: 20 :: 38
-37 2000031601 20 18 fido FIDO Tools for FIDOnet mail and echoes. 0 0 Topic :: Communications :: FIDO 18 :: 20 :: 37
-36 2000031601 20 18 fax Fax Tools for sending and receiving facsimile messages. 0 0 Topic :: Communications :: Fax 18 :: 20 :: 36
-28 2000031601 20 18 email Email Programs for sending, processing, and handling electronic mail. 0 0 Topic :: Communications :: Email 18 :: 20 :: 28
-33 2000031601 28 18 postoffice Post-Office Programs to support post-office protocols, including POP and IMAP. 0 0 Topic :: Communications :: Email :: Post-Office 18 :: 20 :: 28 :: 33
-35 2000031601 33 18 imap IMAP Programs to support IMAP protocol (Internet Message Access Protocol). 0 0 Topic :: Communications :: Email :: Post-Office :: IMAP 18 :: 20 :: 28 :: 33 :: 35
-34 2000031601 33 18 pop3 POP3 Programs to support POP3 (Post-Office Protocol, version 3). 0 0 Topic :: Communications :: Email :: Post-Office :: POP3 18 :: 20 :: 28 :: 33 :: 34
-32 2000031601 28 18 mta Mail Transport Agents Email transport and gatewaying software. 0 0 Topic :: Communications :: Email :: Mail Transport Agents 18 :: 20 :: 28 :: 32
-31 2000031601 28 18 mua Email Clients (MUA) Programs for interactively reading and sending Email. 0 0 Topic :: Communications :: Email :: Email Clients (MUA) 18 :: 20 :: 28 :: 31
-30 2000031601 28 18 listservers Mailing List Servers Tools for managing electronic mailing lists. 0 0 Topic :: Communications :: Email :: Mailing List Servers 18 :: 20 :: 28 :: 30
-29 2000031601 28 18 filters Filters Content-driven filters and dispatchers for Email. 0 0 Topic :: Communications :: Email :: Filters 18 :: 20 :: 28 :: 29
-301 2001041701 14 13 nosl Nokia Open Source License Nokia Open Source License 0 0 License :: OSI Approved :: Nokia Open Source License 13 :: 14 :: 301
-299 2001041701 14 13 iosl Intel Open Source License Intel Open Source License 0 0 License :: OSI Approved :: Intel Open Source License 13 :: 14 :: 299
-297 2001041701 14 13 vsl Vovida Software License Vovida Software License 0 0 License :: OSI Approved :: Vovida Software License 13 :: 14 :: 297
-195 2000032001 14 13 zlib zlib/libpng License zlib/libpng License 0 0 License :: OSI Approved :: zlib/libpng License 13 :: 14 :: 195
-194 2000032001 14 13 python Python License Python License 0 0 License :: OSI Approved :: Python License 13 :: 14 :: 194
-193 2000032001 14 13 ricoh Ricoh Source Code Public License Ricoh Source Code Public License 0 0 License :: OSI Approved :: Ricoh Source Code Public License 13 :: 14 :: 193
-192 2000032001 14 13 cvw MITRE Collaborative Virtual Workspace License (CVW) MITRE Collaborative Virtual Workspace License (CVW) 0 0 License :: OSI Approved :: MITRE Collaborative Virtual Workspace License (CVW) 13 :: 14 :: 192
-191 2000032001 14 13 ibm IBM Public License IBM Public License 0 0 License :: OSI Approved :: IBM Public License 13 :: 14 :: 191
-190 2000032001 14 13 qpl QT Public License (QPL) QT Public License 0 0 License :: OSI Approved :: QT Public License (QPL) 13 :: 14 :: 190
-189 2000032001 14 13 mpl Mozilla Public License (MPL) Mozilla Public License (MPL) 0 0 License :: OSI Approved :: Mozilla Public License (MPL) 13 :: 14 :: 189
-305 2001041701 189 13 mpl11 Mozilla Public License 1.1 Mozilla Public License 1.1 0 0 License :: OSI Approved :: Mozilla Public License (MPL) :: Mozilla Public License 1.1 13 :: 14 :: 189 :: 305
-199 2000032101 0 0 os Operating System What operating system the program requires to run, if any. 0 0 Operating System 199
-200 2000032101 199 199 posix POSIX POSIX plus standard Berkeley socket facilities. Don't list a more specific OS unless your program requires it. 0 0 Operating System :: POSIX 199 :: 200
-201 2000032101 200 199 linux Linux Any version of Linux. Don't specify a subcategory unless the program requires a particular distribution. 0 0 Operating System :: POSIX :: Linux 199 :: 200 :: 201
-202 2000032101 200 199 bsd BSD Any variant of BSD. Don't specify a subcategory unless the program requires a particular BSD flavor. 0 0 Operating System :: POSIX :: BSD 199 :: 200 :: 202
-203 2000041101 202 199 freebsd FreeBSD FreeBSD 0 0 Operating System :: POSIX :: BSD :: FreeBSD 199 :: 200 :: 202 :: 203
-204 2000032101 202 199 netbsd NetBSD NetBSD 0 0 Operating System :: POSIX :: BSD :: NetBSD 199 :: 200 :: 202 :: 204
-205 2000032101 202 199 openbsd OpenBSD OpenBSD 0 0 Operating System :: POSIX :: BSD :: OpenBSD 199 :: 200 :: 202 :: 205
-206 2000032101 202 199 bsdos BSD/OS BSD/OS 0 0 Operating System :: POSIX :: BSD :: BSD/OS 199 :: 200 :: 202 :: 206
-207 2000032101 200 199 sun SunOS/Solaris Any Sun Microsystems OS. 0 0 Operating System :: POSIX :: SunOS/Solaris 199 :: 200 :: 207
-208 2000032101 200 199 sco SCO SCO 0 0 Operating System :: POSIX :: SCO 199 :: 200 :: 208
-209 2000032101 200 199 hpux HP-UX HP-UX 0 0 Operating System :: POSIX :: HP-UX 199 :: 200 :: 209
-210 2000032101 200 199 aix AIX AIX 0 0 Operating System :: POSIX :: AIX 199 :: 200 :: 210
-211 2000032101 200 199 irix IRIX IRIX 0 0 Operating System :: POSIX :: IRIX 199 :: 200 :: 211
-212 2000032101 200 199 other Other Other specific POSIX OS, specified in description. 0 0 Operating System :: POSIX :: Other 199 :: 200 :: 212
-282 2000121901 18 18 Sociology Sociology Social / Informational - Family / etc. 0 0 Topic :: Sociology 18 :: 282
-214 2000032101 199 199 microsoft Microsoft Microsoft operating systems. 0 0 Operating System :: Microsoft 199 :: 214
-215 2000032101 214 199 msdos MS-DOS Microsoft Disk Operating System (DOS) 0 0 Operating System :: Microsoft :: MS-DOS 199 :: 214 :: 215
-216 2000032101 214 199 windows Windows Windows software, not specific to any particular version of Windows. 0 0 Operating System :: Microsoft :: Windows 199 :: 214 :: 216
-217 2000032101 216 199 win31 Windows 3.1 or Earlier Windows 3.1 or Earlier 0 0 Operating System :: Microsoft :: Windows :: Windows 3.1 or Earlier 199 :: 214 :: 216 :: 217
-218 2000032101 216 199 win95 Windows 95/98/2000 Windows 95, Windows 98, and Windows 2000. 0 0 Operating System :: Microsoft :: Windows :: Windows 95/98/2000 199 :: 214 :: 216 :: 218
-219 2000041101 216 199 winnt Windows NT/2000 Windows NT and Windows 2000. 0 0 Operating System :: Microsoft :: Windows :: Windows NT/2000 199 :: 214 :: 216 :: 219
-220 2000032101 199 199 os2 OS/2 OS/2 0 0 Operating System :: OS/2 199 :: 220
-221 2000032101 199 199 macos MacOS MacOS 0 0 Operating System :: MacOS 199 :: 221
-222 2000032101 216 199 wince Windows CE Windows CE 0 0 Operating System :: Microsoft :: Windows :: Windows CE 199 :: 214 :: 216 :: 222
-223 2000032101 199 199 palmos PalmOS PalmOS (for Palm Pilot) 0 0 Operating System :: PalmOS 199 :: 223
-224 2000032101 199 199 beos BeOS BeOS 0 0 Operating System :: BeOS 199 :: 224
-225 2000032101 0 0 environment Environment Run-time environment required for this program. 0 0 Environment 225
-226 2000041101 225 225 console Console (Text Based) Console-based programs. 0 0 Environment :: Console (Text Based) 225 :: 226
-227 2000032401 226 225 curses Curses Curses-based software. 0 0 Environment :: Console (Text Based) :: Curses 225 :: 226 :: 227
-228 2000040701 226 225 newt Newt Newt 0 0 Environment :: Console (Text Based) :: Newt 225 :: 226 :: 228
-229 2000040701 225 225 x11 X11 Applications Programs that run in an X windowing environment. 0 0 Environment :: X11 Applications 225 :: 229
-230 2000040701 225 225 win32 Win32 (MS Windows) Programs designed to run in a graphical Microsoft Windows environment. 0 0 Environment :: Win32 (MS Windows) 225 :: 230
-231 2000040701 229 225 gnome Gnome Programs designed to run in a Gnome environment. 0 0 Environment :: X11 Applications :: Gnome 225 :: 229 :: 231
-232 2000040701 229 225 kde KDE Programs designed to run in a KDE environment. 0 0 Environment :: X11 Applications :: KDE 225 :: 229 :: 232
-233 2000040701 225 225 other Other Environment Programs designed to run in an environment other than one listed. 0 0 Environment :: Other Environment 225 :: 233
-283 2000121901 282 18 History History History / Informational 0 0 Topic :: Sociology :: History 18 :: 282 :: 283
-235 2000041001 199 199 independent OS Independent This software does not depend on any particular operating system. 0 0 Operating System :: OS Independent 199 :: 235
-236 2000040701 199 199 other Other OS Program is designe for a nonlisted operating system. 0 0 Operating System :: Other OS 199 :: 236
-237 2000041001 225 225 web Web Environment This software is designed for a web environment. 0 0 Environment :: Web Environment 225 :: 237
-238 2000041101 225 225 daemon No Input/Output (Daemon) This program has no input or output, but is intended to run in the background as a daemon. 0 0 Environment :: No Input/Output (Daemon) 225 :: 238
-284 2000121901 282 18 Genealogy Genealogy Family History / Genealogy 0 0 Topic :: Sociology :: Genealogy 18 :: 282 :: 284
-240 2000041301 200 199 gnuhurd GNU Hurd GNU Hurd 0 0 Operating System :: POSIX :: GNU Hurd 199 :: 200 :: 240
-55 2000031601 18 18 desktop Desktop Environment Accessories, managers, and utilities for your GUI desktop. 0 0 Topic :: Desktop Environment 18 :: 55
-58 2000031601 55 18 gnome Gnome Software for the Gnome desktop. 0 0 Topic :: Desktop Environment :: Gnome 18 :: 55 :: 58
-57 2000031601 55 18 kde K Desktop Environment (KDE) Software for the KDE desktop. 0 0 Topic :: Desktop Environment :: K Desktop Environment (KDE) 18 :: 55 :: 57
-61 2000031601 57 18 themes Themes Themes for KDE. 0 0 Topic :: Desktop Environment :: K Desktop Environment (KDE) :: Themes 18 :: 55 :: 57 :: 61
-56 2000031601 55 18 windowmanagers Window Managers Programs that provide window control and application launching. 0 0 Topic :: Desktop Environment :: Window Managers 18 :: 55 :: 56
-59 2000031601 56 18 enlightenment Enlightenment Software for the Enlightenment window manager. 0 0 Topic :: Desktop Environment :: Window Managers :: Enlightenment 18 :: 55 :: 56 :: 59
-60 2000031601 59 18 themes Themes Themes for the Enlightenment window manager. 0 0 Topic :: Desktop Environment :: Window Managers :: Enlightenment :: Themes 18 :: 55 :: 56 :: 59 :: 60
-62 2000031601 55 18 screensavers Screen Savers Screen savers and lockers. 0 0 Topic :: Desktop Environment :: Screen Savers 18 :: 55 :: 62
-259 2000071401 45 18 codegen Code Generators Code Generators 0 0 Topic :: Software Development :: Code Generators 18 :: 45 :: 259
-52 2000031601 45 18 versioncontrol Version Control Tools for managing multiple versions of evolving sources or documents. 0 0 Topic :: Software Development :: Version Control 18 :: 45 :: 52
-160 2000032001 0 0 language Programming Language Language in which this program was written, or was meant to support. 0 0 Programming Language 160
-161 2000032001 160 160 apl APL APL 0 0 Programming Language :: APL 160 :: 161
-164 2000032001 160 160 c C C 0 0 Programming Language :: C 160 :: 164
-162 2000032001 160 160 assembly Assembly Assembly-level programs. Platform specific. 0 0 Programming Language :: Assembly 160 :: 162
-163 2000051001 160 160 ada Ada Ada 0 0 Programming Language :: Ada 160 :: 163
-165 2000032001 160 160 cpp C++ C++ 0 0 Programming Language :: C++ 160 :: 165
-166 2000032401 160 160 eiffel Eiffel Eiffel 0 0 Programming Language :: Eiffel 160 :: 166
-167 2000032001 160 160 euler Euler Euler 0 0 Programming Language :: Euler 160 :: 167
-168 2000032001 160 160 forth Forth Forth 0 0 Programming Language :: Forth 160 :: 168
-169 2000032001 160 160 fortran Fortran Fortran 0 0 Programming Language :: Fortran 160 :: 169
-170 2000032001 160 160 lisp Lisp Lisp 0 0 Programming Language :: Lisp 160 :: 170
-171 2000041101 160 160 logo Logo Logo 0 0 Programming Language :: Logo 160 :: 171
-172 2000032001 160 160 ml ML ML 0 0 Programming Language :: ML 160 :: 172
-173 2000032001 160 160 modula Modula Modula-2 or Modula-3 0 0 Programming Language :: Modula 160 :: 173
-174 2000032001 160 160 objectivec Objective C Objective C 0 0 Programming Language :: Objective C 160 :: 174
-175 2000032001 160 160 pascal Pascal Pascal 0 0 Programming Language :: Pascal 160 :: 175
-176 2000032001 160 160 perl Perl Perl 0 0 Programming Language :: Perl 160 :: 176
-177 2000032001 160 160 prolog Prolog Prolog 0 0 Programming Language :: Prolog 160 :: 177
-178 2000032001 160 160 python Python Python 0 0 Programming Language :: Python 160 :: 178
-179 2000032001 160 160 rexx Rexx Rexx 0 0 Programming Language :: Rexx 160 :: 179
-180 2000032001 160 160 simula Simula Simula 0 0 Programming Language :: Simula 160 :: 180
-181 2000032001 160 160 smalltalk Smalltalk Smalltalk 0 0 Programming Language :: Smalltalk 160 :: 181
-182 2000032001 160 160 tcl Tcl Tcl 0 0 Programming Language :: Tcl 160 :: 182
-183 2000032001 160 160 php PHP PHP 0 0 Programming Language :: PHP 160 :: 183
-263 2000080401 160 160 euphoria Euphoria Euphoria programming language - http://www.rapideuphoria.com/ 0 0 Programming Language :: Euphoria 160 :: 263
-264 2000080701 160 160 erlang Erlang Erlang - developed by Ericsson - http://www.erlang.org/ 0 0 Programming Language :: Erlang 160 :: 264
-267 2000082001 160 160 zope Zope Zope Object Publishing 0 0 Programming Language :: Zope 160 :: 267
-269 2000082801 160 160 asm Assembly ASM programming 0 0 Programming Language :: Assembly 160 :: 269
-271 2000092001 160 160 csharp C# Microsoft's C++/Java Language 0 0 Programming Language :: C# 160 :: 271
-273 2000102001 160 160 Pike Pike Pike, see http://pike.roxen.com/. 0 0 Programming Language :: Pike 160 :: 273
-184 2000032001 160 160 asp ASP Active Server Pages 0 0 Programming Language :: ASP 160 :: 184
-185 2000032001 160 160 shell Unix Shell Unix Shell 0 0 Programming Language :: Unix Shell 160 :: 185
-186 2000032001 160 160 visualbasic Visual Basic Visual Basic 0 0 Programming Language :: Visual Basic 160 :: 186
-198 2000032001 160 160 java Java Java 0 0 Programming Language :: Java 160 :: 198
-213 2000032101 160 160 other Other Other programming language, specified in description. 0 0 Programming Language :: Other 160 :: 213
-242 2000042701 160 160 scheme Scheme Scheme programming language. 0 0 Programming Language :: Scheme 160 :: 242
-254 2000071101 160 160 plsql PL/SQL PL/SQL Programming Language 0 0 Programming Language :: PL/SQL 160 :: 254
-255 2000071101 160 160 progress PROGRESS PROGRESS Programming Language 0 0 Programming Language :: PROGRESS 160 :: 255
-258 2000071101 160 160 objectpascal Object Pascal Object Pascal 0 0 Programming Language :: Object Pascal 160 :: 258
-261 2000072501 160 160 xbasic XBasic XBasic programming language 0 0 Programming Language :: XBasic 160 :: 261
-262 2000073101 160 160 coldfusion Cold Fusion Cold Fusion Language 0 0 Programming Language :: Cold Fusion 160 :: 262
-304 2001041701 189 13 mpl10 Mozilla Public License 1.0 Mozilla Public License 1.0 0 0 License :: OSI Approved :: Mozilla Public License (MPL) :: Mozilla Public License 1.0 13 :: 14 :: 189 :: 304
-188 2000032001 14 13 mit MIT/X Consortium License MIT License, also the X Consortium License. 0 0 License :: OSI Approved :: MIT/X Consortium License 13 :: 14 :: 188
-187 2000032001 14 13 bsd BSD License BSD License 0 0 License :: OSI Approved :: BSD License 13 :: 14 :: 187
-17 2000032001 14 13 artistic Artistic License The Perl Artistic License 0 0 License :: OSI Approved :: Artistic License 13 :: 14 :: 17
-16 2000050801 14 13 lgpl GNU Lesser General Public License (LGPL) GNU Lesser General Public License 0 0 License :: OSI Approved :: GNU Lesser General Public License (LGPL) 13 :: 14 :: 16
-15 2000032001 14 13 gpl GNU General Public License (GPL) GNU General Public License. 0 0 License :: OSI Approved :: GNU General Public License (GPL) 13 :: 14 :: 15
-280 2000110101 160 160 JavaScript JavaScript Java Scripting Language 0 0 Programming Language :: JavaScript 160 :: 280
-281 2000111401 160 160 REBOL REBOL REBOL Programming Language 0 0 Programming Language :: REBOL 160 :: 281
-265 2001032001 160 160 Delphi Delphi/Kylix Borland/Inprise Delphi or other Object-Pascal based languages 0 0 Programming Language :: Delphi/Kylix 160 :: 265
-293 2001032001 160 160 ruby Ruby Ruby programming language 0 0 Programming Language :: Ruby 160 :: 293
-45 2000031601 18 18 development Software Development Software used to aid software development. 0 0 Topic :: Software Development 18 :: 45
-99 2000031601 18 18 multimedia Multimedia Graphics, sound, video, and multimedia. 0 0 Topic :: Multimedia 18 :: 99
-296 2001041701 14 13 asl Apache Software License Apache Software License 0 0 License :: OSI Approved :: Apache Software License 13 :: 14 :: 296
-274 2000102401 0 0 natlanguage Natural Language The oral/written language for the development and use of this software. 0 0 Natural Language 274
-295 2001040601 274 274 russian Russian Projects having something to do with Russian Language 0 0 Natural Language :: Russian 274 :: 295
-275 2000102401 274 274 english English English 0 0 Natural Language :: English 274 :: 275
-276 2000102401 274 274 french French French 0 0 Natural Language :: French 274 :: 276
-277 2000102401 274 274 spanish Spanish Spanish 0 0 Natural Language :: Spanish 274 :: 277
-278 2000102601 274 274 japanese Japanese Projects using the Japanese language 0 0 Natural Language :: Japanese 274 :: 278
-279 2000102601 274 274 german German Projects using the German language 0 0 Natural Language :: German 274 :: 279
-298 2001041701 14 13 sissl Sun Internet Standards Source License Sun Internet Standards Source License 0 0 License :: OSI Approved :: Sun Internet Standards Source License 13 :: 14 :: 298
-300 2001041701 14 13 josl Jabber Open Source License Jabber Open Source License 0 0 License :: OSI Approved :: Jabber Open Source License 13 :: 14 :: 300
-302 2001041701 14 13 sleepycat Sleepycat License Sleepycat License 0 0 License :: OSI Approved :: Sleepycat License 13 :: 14 :: 302
Deleted: trunk/gforge_base/evolvisforge-5.1/gforge/db/user_rating.sql
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/db/user_rating.sql 2011-02-24 14:55:48 UTC (rev 8039)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/db/user_rating.sql 2011-02-24 14:55:50 UTC (rev 8040)
@@ -1,35 +0,0 @@
-#
-#
-# 10200 is the group_id for the sfpeerratings project
-# REPLACE 10200 with your peerratings group_id
-#
-DROP TABLE user_metric0;
-DROP SEQUENCE user_metric0_pk_seq;
-CREATE SEQUENCE "user_metric0_pk_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-
-CREATE TABLE "user_metric0" (
- "ranking" integer DEFAULT nextval('user_metric0_pk_seq'::text) NOT NULL,
- "user_id" integer DEFAULT '0' NOT NULL,
- "times_ranked" integer DEFAULT '0' NOT NULL,
- "avg_raters_importance" double precision DEFAULT '0.00000000' NOT NULL,
- "avg_rating" double precision DEFAULT '0.00000000' NOT NULL,
- "metric" double precision DEFAULT '0.00000000' NOT NULL,
- "percentile" double precision DEFAULT '0.00000000' NOT NULL,
- "importance_factor" double precision DEFAULT '0.00000000' NOT NULL,
- Constraint "user_metric0_pkey" Primary Key ("ranking")
-);
-CREATE INDEX "user_metric0_user_id" on "user_metric0" using btree ( "user_id" "int4_ops" );
-
-INSERT INTO user_metric0 (user_id,times_ranked,avg_raters_importance,avg_rating,metric,percentile,importance_factor)
-SELECT user_id,5,1.25,1,0,0,1.25
-FROM user_group
-WHERE
-user_group.group_id=4
-AND user_group.admin_flags='A';
-
-UPDATE user_metric0 SET
-metric=(log(times_ranked::float)*avg_rating::float)::float,
-percentile=(100-(100*((ranking::float-1)/(select count(*) from user_metric0))))::float;
-
-UPDATE user_metric0 SET
-importance_factor=(1+((percentile::float/100)*.5))::float;
More information about the evolvis-commits
mailing list