Changeset 9977 for trunk/install/sql/v70.sql
- Timestamp:
- 04/06/09 05:42:46 (3 years ago)
- File:
-
- 1 edited
-
trunk/install/sql/v70.sql (modified) (14 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/install/sql/v70.sql
r9976 r9977 6 6 7 7 SET NAMES 'utf8'; 8 DROP TABLE IF EXISTS `sys_account_custom_stat_elements`, `sys_admin_ban_list`, `sys_admin_links`, `sys_admin_menu`, `sys_admin_menu_categ`, `Admins`, `aff`, `sys_aff_banners`, `sys_aff_members`, `alerts`, `sys_albums`, `sys_albums_objects`,`sys_banners`, `sys_banners_clicks`, `sys_banners_shows`, `sys_block_list`, `sys_objects_browse`, `Categories`, `sys_objects_categories`, `sys_objects_cmts`, `sys_cmts_profile`, `sys_cmts_track`, `sys_color_base`, `sys_countries`, `sys_email_templates`, `sys_menu_member`, `sys_friend_list`, `sys_options`, `sys_options_cats`, `Groups`, `GroupsCateg`, `GroupsGallery`, `GroupsMembers`, `groups_rating`, `groups_voting_track`, `grp_forum`, `grp_forum_cat`, `grp_forum_flag`, `grp_forum_post`, `grp_forum_report`, `grp_forum_topic`, `grp_forum_user`, `grp_forum_user_activity`, `grp_forum_user_stat`, `grp_forum_vote`, `sys_fave_list`, `sys_ip_list`, `sys_ip_members_visits`, `Links`, `sys_localization_categories`, `sys_localization_keys`, `sys_localization_languages`, `sys_localization_string_params`, `sys_localization_strings`, `sys_acl_actions`, `sys_acl_actions_track`, `sys_members_as_aff`, `sys_acl_matrix`, `sys_acl_level_prices`, `sys_acl_levels`, `Messages`, `sys_moderators`, `News`, `sys_subscriptions`, `sys_mail_mass_messages`, `sys_mail_queue`, `sys_page_compose`, `sys_page_compose_pages`, `sys_payment_parameters`, `sys_payment_providers`, `sys_payment_subscriptions`, `sys_stat_member`, `sys_pre_values`, `ProfileFields`, `sys_acl_levels_members`, `Profiles`, ` profile_views_track`, `ProfilesMatch`, `ProfilesSettings`, `ProfilesTrack`, `profile_rating`, `profile_voting_track`, `RayBoardCurrentUsers`, `RayBoardBoards`, `RayBoardUsers`, `RayChatCurrentUsers`, `RayChatMessages`, `RayChatProfiles`, `RayChatRooms`, `RayChatRoomsUsers`, `RayGlobalTrackUsers`, `RayImContacts`, `RayImMessages`, `RayImPendings`, `RayImProfiles`, `RayMp3Files`, `RayShoutboxMessages`, `RayVideoFiles`, `RayVideo_commentsFiles`, `SearchObjects`, `sharedSites`, `sys_stat_site`, `smiles`, `sys_alerts`, `sys_alerts_handlers`, `sys_injections`, `sys_injections_admin`, `sys_modules`, `sys_modules_file_tracks`, `sys_permalinks`, `Stories`, `Tags`, `TagObjects`, `TopMenu`, `Transactions`, `sys_objects_actions`, `Greetings`, `Votes`, `ZIPCodes`, `VoteObjects`, `sys_objects_views`, `sys_box_download`;8 DROP TABLE IF EXISTS `sys_account_custom_stat_elements`, `sys_admin_ban_list`, `sys_admin_links`, `sys_admin_menu`, `sys_admin_menu_categ`, `Admins`, `aff`, `sys_aff_banners`, `sys_aff_members`, `alerts`, `sys_albums`, `sys_albums_objects`,`sys_banners`, `sys_banners_clicks`, `sys_banners_shows`, `sys_block_list`, `sys_objects_browse`, `Categories`, `sys_objects_categories`, `sys_objects_cmts`, `sys_cmts_profile`, `sys_cmts_track`, `sys_color_base`, `sys_countries`, `sys_email_templates`, `sys_menu_member`, `sys_friend_list`, `sys_options`, `sys_options_cats`, `Groups`, `GroupsCateg`, `GroupsGallery`, `GroupsMembers`, `groups_rating`, `groups_voting_track`, `grp_forum`, `grp_forum_cat`, `grp_forum_flag`, `grp_forum_post`, `grp_forum_report`, `grp_forum_topic`, `grp_forum_user`, `grp_forum_user_activity`, `grp_forum_user_stat`, `grp_forum_vote`, `sys_fave_list`, `sys_ip_list`, `sys_ip_members_visits`, `Links`, `sys_localization_categories`, `sys_localization_keys`, `sys_localization_languages`, `sys_localization_string_params`, `sys_localization_strings`, `sys_acl_actions`, `sys_acl_actions_track`, `sys_members_as_aff`, `sys_acl_matrix`, `sys_acl_level_prices`, `sys_acl_levels`, `Messages`, `sys_moderators`, `News`, `sys_subscriptions`, `sys_mail_mass_messages`, `sys_mail_queue`, `sys_page_compose`, `sys_page_compose_pages`, `sys_payment_parameters`, `sys_payment_providers`, `sys_payment_subscriptions`, `sys_stat_member`, `sys_pre_values`, `ProfileFields`, `sys_acl_levels_members`, `Profiles`, `sys_profile_views_track`, `sys_profiles_match`, `sys_profiles_settings`, `sys_profiles_track`, `sys_profile_rating`, `sys_profile_voting_track`, `RayBoardCurrentUsers`, `RayBoardBoards`, `RayBoardUsers`, `RayChatCurrentUsers`, `RayChatMessages`, `RayChatProfiles`, `RayChatRooms`, `RayChatRoomsUsers`, `RayGlobalTrackUsers`, `RayImContacts`, `RayImMessages`, `RayImPendings`, `RayImProfiles`, `RayMp3Files`, `RayShoutboxMessages`, `RayVideoFiles`, `RayVideo_commentsFiles`, `sys_objects_search`, `sys_shared_sites`, `sys_stat_site`, `smiles`, `sys_alerts`, `sys_alerts_handlers`, `sys_injections`, `sys_injections_admin`, `sys_modules`, `sys_modules_file_tracks`, `sys_permalinks`, `Stories`, `Tags`, `TagObjects`, `TopMenu`, `Transactions`, `sys_objects_actions`, `Greetings`, `Votes`, `ZIPCodes`, `VoteObjects`, `sys_objects_views`, `sys_box_download`; 9 9 ALTER DATABASE DEFAULT CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci'; 10 10 … … 2352 2352 INSERT INTO `sys_stat_member` VALUES('mgc', 'SELECT COUNT(*) FROM `Greetings` WHERE `ID` = ''__member_id__'' AND New = ''1'''); 2353 2353 INSERT INTO `sys_stat_member` VALUES('mbc', 'SELECT COUNT(*) FROM `sys_block_list` WHERE `ID` = ''__member_id__'''); 2354 INSERT INTO `sys_stat_member` VALUES('mvc', 'SELECT COUNT(*) FROM ` ProfilesTrack` WHERE `ID` = ''__member_id__''');2354 INSERT INTO `sys_stat_member` VALUES('mvc', 'SELECT COUNT(*) FROM `sys_profiles_track` WHERE `ID` = ''__member_id__'''); 2355 2355 INSERT INTO `sys_stat_member` VALUES('mg', 'SELECT COUNT(*) FROM `Groups` WHERE `creatorID` = ''__member_id__'' AND `status`=''Active'''); 2356 2356 INSERT INTO `sys_stat_member` VALUES('mgj', 'SELECT COUNT(*) FROM `GroupsMembers` WHERE `memberID` = ''__member_id__'' AND `status`=''Active'''); 2357 2357 INSERT INTO `sys_stat_member` VALUES('mgmc', 'SELECT COUNT(*) FROM `Greetings` WHERE `Profile` = ''__member_id__'' AND New = ''1'''); 2358 2358 INSERT INTO `sys_stat_member` VALUES('mrc', 'SELECT COUNT(*) FROM `sys_block_list` WHERE `ID` = ''__member_id__'''); 2359 INSERT INTO `sys_stat_member` VALUES('mvmc', 'SELECT COUNT(*) FROM ` ProfilesTrack` WHERE `Profile` = ''__member_id__''');2359 INSERT INTO `sys_stat_member` VALUES('mvmc', 'SELECT COUNT(*) FROM `sys_profiles_track` WHERE `Profile` = ''__member_id__'''); 2360 2360 2361 2361 … … 2931 2931 2932 2932 -- 2933 -- Table structure for table ` profile_views_track`2934 -- 2935 2936 CREATE TABLE IF NOT EXISTS ` profile_views_track` (2933 -- Table structure for table `sys_profile_views_track` 2934 -- 2935 2936 CREATE TABLE IF NOT EXISTS `sys_profile_views_track` ( 2937 2937 `id` int(10) unsigned NOT NULL, 2938 2938 `viewer` int(10) unsigned NOT NULL, … … 2943 2943 2944 2944 -- 2945 -- Dumping data for table ` profile_views_track`2946 -- 2947 2948 -- -------------------------------------------------------- 2949 2950 -- 2951 -- Table structure for table ` ProfilesMatch`2952 -- 2953 2954 CREATE TABLE ` ProfilesMatch` (2945 -- Dumping data for table `sys_profile_views_track` 2946 -- 2947 2948 -- -------------------------------------------------------- 2949 2950 -- 2951 -- Table structure for table `sys_profiles_match` 2952 -- 2953 2954 CREATE TABLE `sys_profiles_match` ( 2955 2955 `PID1` int(10) unsigned NOT NULL default '0' COMMENT 'Profile ID', 2956 2956 `PID2` int(10) unsigned NOT NULL default '0', … … 2960 2960 2961 2961 -- 2962 -- Dumping data for table ` ProfilesMatch`2963 -- 2964 2965 2966 -- -------------------------------------------------------- 2967 2968 -- 2969 -- Table structure for table ` ProfilesSettings`2970 -- 2971 2972 CREATE TABLE ` ProfilesSettings` (2962 -- Dumping data for table `sys_profiles_match` 2963 -- 2964 2965 2966 -- -------------------------------------------------------- 2967 2968 -- 2969 -- Table structure for table `sys_profiles_settings` 2970 -- 2971 2972 CREATE TABLE `sys_profiles_settings` ( 2973 2973 `IDMember` int(10) NOT NULL default '0', 2974 2974 `BackgroundFilename` varchar(40) default NULL, … … 2982 2982 2983 2983 -- 2984 -- Dumping data for table ` ProfilesSettings`2985 -- 2986 2987 2988 -- -------------------------------------------------------- 2989 2990 -- 2991 -- Table structure for table ` ProfilesTrack`2992 -- 2993 2994 CREATE TABLE ` ProfilesTrack` (2984 -- Dumping data for table `sys_profiles_settings` 2985 -- 2986 2987 2988 -- -------------------------------------------------------- 2989 2990 -- 2991 -- Table structure for table `sys_profiles_track` 2992 -- 2993 2994 CREATE TABLE `sys_profiles_track` ( 2995 2995 `ID` int(10) unsigned NOT NULL default '0', 2996 2996 `Profile` int(10) unsigned NOT NULL default '0', … … 3004 3004 3005 3005 -- 3006 -- Dumping data for table ` ProfilesTrack`3007 -- 3008 3009 3010 -- -------------------------------------------------------- 3011 3012 -- 3013 -- Table structure for table ` profile_rating`3014 -- 3015 3016 CREATE TABLE ` profile_rating` (3006 -- Dumping data for table `sys_profiles_track` 3007 -- 3008 3009 3010 -- -------------------------------------------------------- 3011 3012 -- 3013 -- Table structure for table `sys_profile_rating` 3014 -- 3015 3016 CREATE TABLE `sys_profile_rating` ( 3017 3017 `pr_id` int(10) unsigned NOT NULL default '0', 3018 3018 `pr_rating_count` int(11) NOT NULL default '0', … … 3022 3022 3023 3023 -- 3024 -- Dumping data for table ` profile_rating`3025 -- 3026 3027 3028 -- -------------------------------------------------------- 3029 3030 -- 3031 -- Table structure for table ` profile_voting_track`3032 -- 3033 3034 CREATE TABLE ` profile_voting_track` (3024 -- Dumping data for table `sys_profile_rating` 3025 -- 3026 3027 3028 -- -------------------------------------------------------- 3029 3030 -- 3031 -- Table structure for table `sys_profile_voting_track` 3032 -- 3033 3034 CREATE TABLE `sys_profile_voting_track` ( 3035 3035 `pr_id` int(10) unsigned NOT NULL default '0', 3036 3036 `pr_ip` varchar(20) default NULL, … … 3040 3040 3041 3041 -- 3042 -- Dumping data for table ` profile_voting_track`3042 -- Dumping data for table `sys_profile_voting_track` 3043 3043 -- 3044 3044 … … 3492 3492 3493 3493 -- 3494 -- Table structure for table `Stories` 3495 -- 3496 3497 CREATE TABLE `Stories` ( 3498 `ID` smallint(6) unsigned NOT NULL auto_increment, 3499 `Date` date NOT NULL default '0000-00-00', 3500 `Sender` bigint(8) unsigned NOT NULL default '0', 3501 `Header` varchar(50) NOT NULL default '', 3502 `Text` longtext NOT NULL, 3503 `active` varchar(4) NOT NULL default '', 3504 PRIMARY KEY (`ID`), 3505 KEY `Sender` (`Sender`) 3506 ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 3507 3508 -- 3509 -- Dumping data for table `Stories` 3510 -- 3511 3512 -- -------------------------------------------------------- 3513 3514 -- 3515 -- Table structure for table 'SearchObjects' 3516 -- 3517 3518 CREATE TABLE `SearchObjects` ( 3494 -- Table structure for table 'sys_objects_search' 3495 -- 3496 3497 CREATE TABLE `sys_objects_search` ( 3519 3498 `ID` int(10) unsigned NOT NULL auto_increment, 3520 3499 `ObjectName` varchar(50) NOT NULL default '', … … 3526 3505 3527 3506 -- 3528 -- Dumping data for table ' SearchObjects'3529 -- 3530 3531 INSERT INTO ` SearchObjects` VALUES(2, 'group', '_Groups', 'BxTemplSearchGroup', 'templates/tmpl_{tmpl}/scripts/BxTemplSearchGroup.php');3532 INSERT INTO ` SearchObjects` VALUES(3, 'profile', '_Profiles', 'BxTemplSearchProfile', 'templates/tmpl_{tmpl}/scripts/BxTemplSearchProfile.php');3533 3534 -- -------------------------------------------------------- 3535 3536 -- 3537 -- Table structure for table 's haredSites'3538 -- 3539 3540 CREATE TABLE `s haredSites` (3507 -- Dumping data for table 'sys_objects_search' 3508 -- 3509 3510 INSERT INTO `sys_objects_search` VALUES(2, 'group', '_Groups', 'BxTemplSearchGroup', 'templates/tmpl_{tmpl}/scripts/BxTemplSearchGroup.php'); 3511 INSERT INTO `sys_objects_search` VALUES(3, 'profile', '_Profiles', 'BxTemplSearchProfile', 'templates/tmpl_{tmpl}/scripts/BxTemplSearchProfile.php'); 3512 3513 -- -------------------------------------------------------- 3514 3515 -- 3516 -- Table structure for table 'sys_shared_sites' 3517 -- 3518 3519 CREATE TABLE `sys_shared_sites` ( 3541 3520 `ID` tinyint(4) unsigned NOT NULL auto_increment, 3542 3521 `Name` varchar(255) default NULL, … … 3546 3525 ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 3547 3526 3548 INSERT INTO `s haredSites` VALUES('', 'digg', 'http://digg.com/submit?phase=2&url=', 'digg.png');3549 INSERT INTO `s haredSites` VALUES('', 'delicious', 'http://del.icio.us/post?url=', 'delicious.png');3550 INSERT INTO `s haredSites` VALUES('', 'blinklist', 'http://www.blinklist.com/index.php?Action=Blink/addblink.php&Url=', 'blinklist.png');3551 INSERT INTO `s haredSites` VALUES('', 'furl', 'http://www.furl.net/storeIt.jsp?u=', 'furl.png');3552 INSERT INTO `s haredSites` VALUES('', 'netscape', 'http://www.netscape.com/submit/?U=', 'netscape.gif');3553 INSERT INTO `s haredSites` VALUES('', 'newsvine', 'http://www.newsvine.com/_tools/seed&save?u=', 'newsvine.png');3554 INSERT INTO `s haredSites` VALUES('', 'reddit', 'http://reddit.com/submit?url=', 'reddit.png');3555 INSERT INTO `s haredSites` VALUES('', 'shadows', 'http://www.shadows.com/features/tcr.htm?url=', 'shadows.png');3556 INSERT INTO `s haredSites` VALUES('', 'slashdot', 'http://slashdot.org/bookmark.pl?url=', 'slashdot.png');3557 INSERT INTO `s haredSites` VALUES('', 'sphere', 'http://www.sphere.com/search?q=sphereit:', 'sphere.png');3558 INSERT INTO `s haredSites` VALUES('', 'stumbleupon', 'http://www.stumbleupon.com/url/http', 'stumbleupon.png');3559 INSERT INTO `s haredSites` VALUES('', 'technorati', 'http://technorati.com/faves?add=', 'technorati.png');3560 3561 -- 3562 -- Dumping data for table 's haredSites'3527 INSERT INTO `sys_shared_sites` VALUES('', 'digg', 'http://digg.com/submit?phase=2&url=', 'digg.png'); 3528 INSERT INTO `sys_shared_sites` VALUES('', 'delicious', 'http://del.icio.us/post?url=', 'delicious.png'); 3529 INSERT INTO `sys_shared_sites` VALUES('', 'blinklist', 'http://www.blinklist.com/index.php?Action=Blink/addblink.php&Url=', 'blinklist.png'); 3530 INSERT INTO `sys_shared_sites` VALUES('', 'furl', 'http://www.furl.net/storeIt.jsp?u=', 'furl.png'); 3531 INSERT INTO `sys_shared_sites` VALUES('', 'netscape', 'http://www.netscape.com/submit/?U=', 'netscape.gif'); 3532 INSERT INTO `sys_shared_sites` VALUES('', 'newsvine', 'http://www.newsvine.com/_tools/seed&save?u=', 'newsvine.png'); 3533 INSERT INTO `sys_shared_sites` VALUES('', 'reddit', 'http://reddit.com/submit?url=', 'reddit.png'); 3534 INSERT INTO `sys_shared_sites` VALUES('', 'shadows', 'http://www.shadows.com/features/tcr.htm?url=', 'shadows.png'); 3535 INSERT INTO `sys_shared_sites` VALUES('', 'slashdot', 'http://slashdot.org/bookmark.pl?url=', 'slashdot.png'); 3536 INSERT INTO `sys_shared_sites` VALUES('', 'sphere', 'http://www.sphere.com/search?q=sphereit:', 'sphere.png'); 3537 INSERT INTO `sys_shared_sites` VALUES('', 'stumbleupon', 'http://www.stumbleupon.com/url/http', 'stumbleupon.png'); 3538 INSERT INTO `sys_shared_sites` VALUES('', 'technorati', 'http://technorati.com/faves?add=', 'technorati.png'); 3539 3540 -- 3541 -- Dumping data for table 'sys_shared_sites' 3563 3542 -- 3564 3543 … … 3858 3837 -- 3859 3838 3860 INSERT INTO `VoteObjects` VALUES(1, 'profile', ' profile_rating', 'profile_voting_track', 'pr_', '5', 'vote_send_result', 'BX_PERIOD_PER_VOTE', '1', '', '', 'Profiles', 'Rate', 'RateCount', 'ID', '', '');3839 INSERT INTO `VoteObjects` VALUES(1, 'profile', 'sys_profile_rating', 'sys_profile_voting_track', 'pr_', '5', 'vote_send_result', 'BX_PERIOD_PER_VOTE', '1', '', '', 'Profiles', 'Rate', 'RateCount', 'ID', '', ''); 3861 3840 3862 3841 -- … … 4056 4035 -- 4057 4036 4058 INSERT INTO `sys_objects_views` VALUES(NULL, 'profiles', ' profile_views_track', 86400, 'Profiles', 'ID', 'Views', 1);4037 INSERT INTO `sys_objects_views` VALUES(NULL, 'profiles', 'sys_profile_views_track', 86400, 'Profiles', 'ID', 'Views', 1); 4059 4038 4060 4039 --
Note: See TracChangeset
for help on using the changeset viewer.