sourceforge2.5_oci8.sql
来自「GForge 3.0 协作开发平台 支持CVS, mailing lists, 」· SQL 代码 · 共 2,809 行 · 第 1/5 页
SQL
2,809 行
downloads number(*) DEFAULT '0' NOT NULL);---- TOC Entry ID 264 (OID 18141896)---- Name: stats_agr_project Type: TABLE Owner: tperdue--CREATE TABLE stats_agr_project ( group_id number(*) DEFAULT '0' NOT NULL, group_ranking number(*) DEFAULT '0' NOT NULL, group_metric double precision DEFAULT '0.00000' NOT NULL, developers number(*) DEFAULT '0' NOT NULL, file_releases number(*) DEFAULT '0' NOT NULL, downloads number(*) DEFAULT '0' NOT NULL, site_views number(*) DEFAULT '0' NOT NULL, logo_views number(*) DEFAULT '0' NOT NULL, msg_posted number(*) DEFAULT '0' NOT NULL, msg_uniq_auth number(*) DEFAULT '0' NOT NULL, bugs_opened number(*) DEFAULT '0' NOT NULL, bugs_closed number(*) DEFAULT '0' NOT NULL, support_opened number(*) DEFAULT '0' NOT NULL, support_closed number(*) DEFAULT '0' NOT NULL, patches_opened number(*) DEFAULT '0' NOT NULL, patches_closed number(*) DEFAULT '0' NOT NULL, tasks_opened number(*) DEFAULT '0' NOT NULL, tasks_closed number(*) DEFAULT '0' NOT NULL, help_requests number(*) DEFAULT '0' NOT NULL, cvs_checkouts number(*) DEFAULT '0' NOT NULL, cvs_commits number(*) DEFAULT '0' NOT NULL, cvs_adds number(*) DEFAULT '0' NOT NULL);---- TOC Entry ID 265 (OID 18141949)---- Name: stats_ftp_downloads Type: TABLE Owner: tperdue--CREATE TABLE stats_ftp_downloads ( day number(*) DEFAULT '0' NOT NULL, filerelease_id number(*) DEFAULT '0' NOT NULL, group_id number(*) DEFAULT '0' NOT NULL, downloads number(*) DEFAULT '0' NOT NULL);---- TOC Entry ID 266 (OID 18141966)---- Name: stats_http_downloads Type: TABLE Owner: tperdue--CREATE TABLE stats_http_downloads ( day number(*) DEFAULT '0' NOT NULL, filerelease_id number(*) DEFAULT '0' NOT NULL, group_id number(*) DEFAULT '0' NOT NULL, downloads number(*) DEFAULT '0' NOT NULL);---- TOC Entry ID 267 (OID 18141983)---- Name: stats_project Type: TABLE Owner: tperdue--CREATE TABLE stats_project ( month number(*) DEFAULT '0' NOT NULL, week number(*) DEFAULT '0' NOT NULL, day number(*) DEFAULT '0' NOT NULL, group_id number(*) DEFAULT '0' NOT NULL, group_ranking number(*) DEFAULT '0' NOT NULL, group_metric double precision DEFAULT '0.00000' NOT NULL, developers number(*) DEFAULT '0' NOT NULL, file_releases number(*) DEFAULT '0' NOT NULL, downloads number(*) DEFAULT '0' NOT NULL, site_views number(*) DEFAULT '0' NOT NULL, subdomain_views number(*) DEFAULT '0' NOT NULL, msg_posted number(*) DEFAULT '0' NOT NULL, msg_uniq_auth number(*) DEFAULT '0' NOT NULL, bugs_opened number(*) DEFAULT '0' NOT NULL, bugs_closed number(*) DEFAULT '0' NOT NULL, support_opened number(*) DEFAULT '0' NOT NULL, support_closed number(*) DEFAULT '0' NOT NULL, patches_opened number(*) DEFAULT '0' NOT NULL, patches_closed number(*) DEFAULT '0' NOT NULL, tasks_opened number(*) DEFAULT '0' NOT NULL, tasks_closed number(*) DEFAULT '0' NOT NULL, help_requests number(*) DEFAULT '0' NOT NULL, cvs_checkouts number(*) DEFAULT '0' NOT NULL, cvs_commits number(*) DEFAULT '0' NOT NULL, cvs_adds number(*) DEFAULT '0' NOT NULL);---- TOC Entry ID 268 (OID 18142042)---- Name: stats_project_tmp Type: TABLE Owner: tperdue--CREATE TABLE stats_project_tmp ( month number(*) DEFAULT '0' NOT NULL, week number(*) DEFAULT '0' NOT NULL, day number(*) DEFAULT '0' NOT NULL, group_id number(*) DEFAULT '0' NOT NULL, group_ranking number(*) DEFAULT '0' NOT NULL, group_metric double precision DEFAULT '0.00000' NOT NULL, developers number(*) DEFAULT '0' NOT NULL, file_releases number(*) DEFAULT '0' NOT NULL, downloads number(*) DEFAULT '0' NOT NULL, site_views number(*) DEFAULT '0' NOT NULL, subdomain_views number(*) DEFAULT '0' NOT NULL, msg_posted number(*) DEFAULT '0' NOT NULL, msg_uniq_auth number(*) DEFAULT '0' NOT NULL, bugs_opened number(*) DEFAULT '0' NOT NULL, bugs_closed number(*) DEFAULT '0' NOT NULL, support_opened number(*) DEFAULT '0' NOT NULL, support_closed number(*) DEFAULT '0' NOT NULL, patches_opened number(*) DEFAULT '0' NOT NULL, patches_closed number(*) DEFAULT '0' NOT NULL, tasks_opened number(*) DEFAULT '0' NOT NULL, tasks_closed number(*) DEFAULT '0' NOT NULL, help_requests number(*) DEFAULT '0' NOT NULL, cvs_checkouts number(*) DEFAULT '0' NOT NULL, cvs_commits number(*) DEFAULT '0' NOT NULL, cvs_adds number(*) DEFAULT '0' NOT NULL);---- TOC Entry ID 269 (OID 18142101)---- Name: stats_site Type: TABLE Owner: tperdue--CREATE TABLE stats_site ( month number(*) DEFAULT '0' NOT NULL, week number(*) DEFAULT '0' NOT NULL, day number(*) DEFAULT '0' NOT NULL, site_views number(*) DEFAULT '0' NOT NULL, subdomain_views number(*) DEFAULT '0' NOT NULL, downloads number(*) DEFAULT '0' NOT NULL, uniq_users number(*) DEFAULT '0' NOT NULL, sessions number(*) DEFAULT '0' NOT NULL, total_users number(*) DEFAULT '0' NOT NULL, new_users number(*) DEFAULT '0' NOT NULL, new_projects number(*) DEFAULT '0' NOT NULL);---- TOC Entry ID 126 (OID 18142132)---- Name: support_pk_seq Type: SEQUENCE Owner: tperdue--CREATE SEQUENCE support_pk_seq START WITH 1;---- TOC Entry ID 270 (OID 18142150)---- Name: support Type: TABLE Owner: tperdue--CREATE TABLE support ( support_id number(*) NOT NULL, group_id number(*) DEFAULT '0' NOT NULL, support_status_id number(*) DEFAULT '0' NOT NULL, support_category_id number(*) DEFAULT '0' NOT NULL, priority number(*) DEFAULT '0' NOT NULL, submitted_by number(*) DEFAULT '0' NOT NULL, assigned_to number(*) DEFAULT '0' NOT NULL, open_date number(*) DEFAULT '0' NOT NULL, summary varchar2(4000), close_date number(*) DEFAULT '0' NOT NULL, PRIMARY KEY (support_id));---- TOC Entry ID 128 (OID 18142196)---- Name: support_canned_res_pk_seq Type: SEQUENCE Owner: tperdue--CREATE SEQUENCE support_canned_res_pk_seq START WITH 1;---- TOC Entry ID 271 (OID 18142214)---- Name: support_canned_responses Type: TABLE Owner: tperdue--CREATE TABLE support_canned_responses ( support_canned_id number(*) NOT NULL, group_id number(*) DEFAULT '0' NOT NULL, title varchar2(4000), body varchar2(4000), PRIMARY KEY (support_canned_id));---- TOC Entry ID 130 (OID 18142247)---- Name: support_category_pk_seq Type: SEQUENCE Owner: tperdue--CREATE SEQUENCE support_category_pk_seq START WITH 1;---- TOC Entry ID 272 (OID 18142265)---- Name: support_category Type: TABLE Owner: tperdue--CREATE TABLE support_category ( support_category_id number(*) NOT NULL, group_id number(*) DEFAULT '0' NOT NULL, category_name varchar2(4000) DEFAULT ' ' NOT NULL, PRIMARY KEY (support_category_id));---- TOC Entry ID 132 (OID 18142298)---- Name: support_history_pk_seq Type: SEQUENCE Owner: tperdue--CREATE SEQUENCE support_history_pk_seq START WITH 1;---- TOC Entry ID 273 (OID 18142316)---- Name: support_history Type: TABLE Owner: tperdue--CREATE TABLE support_history ( support_history_id number(*) NOT NULL, support_id number(*) DEFAULT '0' NOT NULL, field_name varchar2(4000) DEFAULT ' ' NOT NULL, old_value varchar2(4000) DEFAULT ' ' NOT NULL, mod_by number(*) DEFAULT '0' NOT NULL, date1 number(*), PRIMARY KEY (support_history_id));---- TOC Entry ID 134 (OID 18142354)---- Name: support_messages_pk_seq Type: SEQUENCE Owner: tperdue--CREATE SEQUENCE support_messages_pk_seq START WITH 1;---- TOC Entry ID 274 (OID 18142372)---- Name: support_messages Type: TABLE Owner: tperdue--CREATE TABLE support_messages ( support_message_id number(*) NOT NULL, support_id number(*) DEFAULT '0' NOT NULL, from_email varchar2(4000), date1 number(*) DEFAULT '0' NOT NULL, body varchar2(4000), PRIMARY KEY (support_message_id));---- TOC Entry ID 136 (OID 18142407)---- Name: support_status_pk_seq Type: SEQUENCE Owner: tperdue--CREATE SEQUENCE support_status_pk_seq START WITH 1;---- TOC Entry ID 275 (OID 18142425)---- Name: support_status Type: TABLE Owner: tperdue--CREATE TABLE support_status ( support_status_id number(*) NOT NULL, status_name varchar2(4000), PRIMARY KEY (support_status_id));---- TOC Entry ID 138 (OID 18142455)---- Name: supported_languages_pk_seq Type: SEQUENCE Owner: tperdue--CREATE SEQUENCE supported_languages_pk_seq START WITH 1;---- TOC Entry ID 276 (OID 18142473)---- Name: supported_languages Type: TABLE Owner: tperdue--CREATE TABLE supported_languages ( language_id number(*) NOT NULL, name varchar2(4000), filename varchar2(4000), classname varchar2(4000), language_code character(2), PRIMARY KEY (language_id));---- TOC Entry ID 140 (OID 18142506)---- Name: survey_question_types_pk_seq Type: SEQUENCE Owner: tperdue--CREATE SEQUENCE survey_question_types_pk_seq START WITH 1;---- TOC Entry ID 277 (OID 18142524)---- Name: survey_question_types Type: TABLE Owner: tperdue--CREATE TABLE survey_question_types ( id number(*) NOT NULL, type varchar2(4000) DEFAULT ' ' NOT NULL, PRIMARY KEY (id));---- TOC Entry ID 142 (OID 18142555)---- Name: survey_questions_pk_seq Type: SEQUENCE Owner: tperdue--CREATE SEQUENCE survey_questions_pk_seq START WITH 1;---- TOC Entry ID 278 (OID 18142573)---- Name: survey_questions Type: TABLE Owner: tperdue--CREATE TABLE survey_questions ( question_id number(*) NOT NULL, group_id number(*) DEFAULT '0' NOT NULL, question varchar2(4000) DEFAULT ' ' NOT NULL, question_type number(*) DEFAULT '0' NOT NULL, PRIMARY KEY (question_id));---- TOC Entry ID 279 (OID 18142608)---- Name: survey_rating_aggregate Type: TABLE Owner: tperdue--CREATE TABLE survey_rating_aggregate ( type number(*) DEFAULT '0' NOT NULL, id number(*) DEFAULT '0' NOT NULL, response double precision DEFAULT '0' NOT NULL, count number(*) DEFAULT '0' NOT NULL);---- TOC Entry ID 280 (OID 18142625)---- Name: survey_rating_response Type: TABLE Owner: tperdue--CREATE TABLE survey_rating_response ( user_id number(*) DEFAULT '0' NOT NULL, type number(*) DEFAULT '0' NOT NULL, id number(*) DEFAULT '0' NOT NULL, response number(*) DEFAULT '0' NOT NULL, date1 number(*) DEFAULT '0' NOT NULL);---- TOC Entry ID 281 (OID 18142644)---- Name: survey_responses Type: TABLE Owner: tperdue--CREATE TABLE survey_responses ( user_id number(*) DEFAULT '0' NOT NULL, group_id number(*) DEFAULT '0' NOT NULL, survey_id number(*) DEFAULT '0' NOT NULL, question_id number(*) DEFAULT '0' NOT NULL, response varchar2(4000) DEFAULT ' ' NOT NULL, date1 number(*) DEFAULT '0' NOT NULL);---- TOC Entry ID 144 (OID 18142680)---- Name: surveys_pk_seq Type: SEQUENCE Owner: tperdue--CREATE SEQUENCE surveys_pk_seq START WITH 1;---- TOC Entry ID 282 (OID 18142698)---- Name: surveys Type: TABLE Owner: tperdue--CREATE TABLE surveys ( survey_id number(*) NOT NULL, group_id number(*) DEFAULT '0' NOT NULL, survey_title varchar2(4000) DEFAULT ' ' NOT NULL, survey_questions varchar2(4000) DEFAULT ' ' NOT NULL, is_active number(*) DEFAULT '1' NOT NULL, PRIMARY KEY (survey_id));---- TOC Entry ID 146 (OID 18142735)---- Name: system_history_pk_seq Type: SEQUENCE Owner: tperdue--CREATE SEQUENCE system_history_pk_seq START WITH 1;---- TOC Entry ID 148 (OID 18142787)---- Name: system_machines_pk_seq Type: SEQUENCE Owner: tperdue--CREATE SEQUENCE system_machines_pk_seq START WITH 1;---- TOC Entry ID 150 (OID 18142836)---- Name: system_news_pk_seq Type: SEQUENCE Owner: tperdue--CREATE SEQUENCE system_news_pk_seq START WITH 1;---- TOC Entry ID 152 (OID 18142895)---- Name: system_services_pk_seq Type: SEQUENCE Owner: tperdue--CREATE SEQUENCE system_services_pk_seq START WITH 1;---- TOC Entry ID 154 (OID 18142944)---- Name: system_status_pk_seq Type: SEQUENCE Owner: tperdue--CREATE SEQUENCE system_status_pk_seq START WITH 1;---- TOC Entry ID 283 (OID 18142992)---- Name: theme_prefs Type: TABLE Owner: tperdue--CREATE TABLE theme_prefs ( user_id number(*) DEFAULT '0' NOT NULL, user_theme number(*) 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));---- TOC Entry ID 156 (OID 18143020)---- Name: themes_pk_seq Type: SEQUENCE Owner: tperdue--CREATE SEQUENCE themes_pk_seq START WITH 1;---- TOC Entry ID 284 (OID 18143038)---- Name: themes Type: TABLE Owner: tperdue--CREATE TABLE themes ( theme_id number(*) NOT NULL, dirname character varying(80), fullname character varying(80), PRIMARY KEY (theme_id));---- TOC Entry ID 285 (OID 18143054)---- Name: tmp_projs_releases_tmp Type: TABLE Owner: tperdue--CREATE TABLE tmp_projs_releases_tmp ( year number(*) DEFAULT '0' NOT NULL, month number(*) DEFAULT '0' NOT NULL, total_proj number(*) DEFAULT '0' NOT NULL, total_releases number(*) DEFAULT '0' NOT NULL);---- TOC Entry ID 286 (OID 18143071)---- Name: top_group Type: TABLE Owner: tperdue--CREATE TABLE top_group ( group_id number(*) DEFAULT '0' NOT NULL, group_name character varying(40), downloads_all number(*) DEFAULT '0' NOT NULL, rank_downloads_all number(*) DEFAULT '0' NOT NULL, rank_downloads_all_old number(*) DEFAULT '0' NOT NULL, downloads_week number(*) DEFAULT '0' NOT NULL, rank_downloads_week number(*) DEFAULT '0' NOT NULL, rank_downloads_week_old number(*) DEFAULT '0' NOT NULL, userrank number(*) DEFAULT '0' NOT NULL, rank_userrank number(*) DEFAULT '0' NOT NULL, rank_userrank_old number(*) DEFAULT '0' NOT NULL, forumposts_week number(*) DEFAULT '0' NOT NULL, rank_forumposts_week number(*) DEFAULT '0' NOT NULL, rank_forumposts_week_old number(*) DEFAULT '0' NOT NULL, pageviews_proj number(*) DEFAULT '0' NOT NULL, rank_pageviews_proj number(*) DEFAULT '0' NOT NULL, rank_pageviews_proj_old number(*) DEFAULT '0' NOT NULL);---- TOC Entry ID 158 (OID 18143113)---- Name: trove_cat_pk_seq Type: SEQUENCE Owner: tperdue--CREATE SEQUENCE trove_cat_pk_seq START WITH 1;---- TOC Entry ID 287 (OID 18143131)---- Name: trove_cat Type: TABLE Owner: tperdue--CREATE TABLE trove_cat ( trove_cat_id number(*) NOT NULL, version number(*) DEFAULT '0' NOT NULL, parent number(*) DEFAULT '0' NOT NULL, root_parent number(*) DEFAULT '0' NOT NULL, shortname character varying(80), fullname character varying(80), description character varying(255), count_subcat number(*) DEFAULT '0' NOT NULL, count_subproj number(*) DEFAULT '0' NOT NULL, fullpath varchar2(4000) DEFAULT ' ' NOT NULL, fullpath_ids varchar2(4000), PRIMARY KEY (trove_cat_id));
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?