📄 sourceforge_2_5.sql
字号:
"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")
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -