0byt3m1n1
Path:
/
data
/
19
/
3
/
93
/
86
/
3093738
/
meta
/
3447532
/
mysql.backup
/
[
Home
]
File: mailing.mysqlv108.bak.sql
-- MySQL dump 10.11 -- -- Host: mysqlv108 Database: mailing -- ------------------------------------------------------ -- Server version 5.0.91 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; -- -- Table structure for table `messages` -- DROP TABLE IF EXISTS `messages`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `messages` ( `ID` int(10) unsigned NOT NULL auto_increment, `UserID` int(10) unsigned NOT NULL, `Text` text NOT NULL, `Time` varchar(50) NOT NULL, `ConversationID` int(10) unsigned NOT NULL, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `messages` -- LOCK TABLES `messages` WRITE; /*!40000 ALTER TABLE `messages` DISABLE KEYS */; /*!40000 ALTER TABLE `messages` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `messages_conversations` -- DROP TABLE IF EXISTS `messages_conversations`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `messages_conversations` ( `ID` int(10) unsigned NOT NULL auto_increment, `Recipients` int(10) unsigned NOT NULL default '0', `LastMessage` varchar(255) NOT NULL, `LastSenderID` int(10) unsigned NOT NULL, `LastUpdate` varchar(50) NOT NULL, `IsChat` enum('Y','N') NOT NULL default 'N', PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `messages_conversations` -- LOCK TABLES `messages_conversations` WRITE; /*!40000 ALTER TABLE `messages_conversations` DISABLE KEYS */; /*!40000 ALTER TABLE `messages_conversations` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `messages_conversations_users` -- DROP TABLE IF EXISTS `messages_conversations_users`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `messages_conversations_users` ( `ConversationID` int(10) unsigned NOT NULL, `UserID` int(10) unsigned NOT NULL, `Messages` int(10) unsigned NOT NULL default '1', `Viewed` enum('Y','N') NOT NULL default 'N', `Deleted` enum('Y','N') NOT NULL default 'N', UNIQUE KEY `ConversationID_UserID` (`ConversationID`,`UserID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `messages_conversations_users` -- LOCK TABLES `messages_conversations_users` WRITE; /*!40000 ALTER TABLE `messages_conversations_users` DISABLE KEYS */; /*!40000 ALTER TABLE `messages_conversations_users` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `messages_users` -- DROP TABLE IF EXISTS `messages_users`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `messages_users` ( `MessageID` int(10) unsigned NOT NULL, `UserID` int(10) unsigned NOT NULL, `Deleted` enum('Y','N') NOT NULL default 'N', UNIQUE KEY `MessageID_UserID` (`MessageID`,`UserID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `messages_users` -- LOCK TABLES `messages_users` WRITE; /*!40000 ALTER TABLE `messages_users` DISABLE KEYS */; /*!40000 ALTER TABLE `messages_users` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `notifications` -- DROP TABLE IF EXISTS `notifications`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `notifications` ( `ID` int(10) unsigned NOT NULL auto_increment, `UserID` int(10) unsigned NOT NULL, `Action` tinyint(1) unsigned NOT NULL, `AuthorID` int(10) unsigned NOT NULL, `PostType` tinyint(3) unsigned default NULL, `PostID` int(10) unsigned default NULL, `Type` enum('P','C','A') NOT NULL default 'P', `IsMedia` enum('Y','N') NOT NULL default 'N', `IsAlbum` enum('Y','N') NOT NULL default 'N', `Time` varchar(25) NOT NULL, `Viewed` enum('Y','N') NOT NULL default 'N', PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `notifications` -- LOCK TABLES `notifications` WRITE; /*!40000 ALTER TABLE `notifications` DISABLE KEYS */; /*!40000 ALTER TABLE `notifications` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `posts` -- DROP TABLE IF EXISTS `posts`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `posts` ( `ID` int(10) unsigned NOT NULL auto_increment, `UserID` int(10) unsigned NOT NULL, `PostType` tinyint(1) unsigned NOT NULL, `PostID` int(10) unsigned NOT NULL, `Time` varchar(25) NOT NULL, `Favorits` int(10) unsigned NOT NULL default '0', `Likes` int(10) unsigned NOT NULL default '0', `Dislikes` int(10) unsigned NOT NULL default '0', `Comments` int(10) unsigned NOT NULL default '0', `PComments` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`ID`), UNIQUE KEY `PostType_PostID` (`PostType`,`PostID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `posts` -- LOCK TABLES `posts` WRITE; /*!40000 ALTER TABLE `posts` DISABLE KEYS */; /*!40000 ALTER TABLE `posts` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `posts_comments` -- DROP TABLE IF EXISTS `posts_comments`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `posts_comments` ( `ID` int(10) unsigned NOT NULL auto_increment, `UserID` int(10) unsigned NOT NULL, `PostType` tinyint(1) NOT NULL, `PostID` int(10) unsigned NOT NULL, `Text` text NOT NULL, `Time` varchar(25) NOT NULL, `Replies` int(10) unsigned NOT NULL default '0', `ParentNodeID` int(10) unsigned NOT NULL default '0', `Likes` int(10) unsigned NOT NULL default '0', `Dislikes` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `posts_comments` -- LOCK TABLES `posts_comments` WRITE; /*!40000 ALTER TABLE `posts_comments` DISABLE KEYS */; /*!40000 ALTER TABLE `posts_comments` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `posts_comments_media` -- DROP TABLE IF EXISTS `posts_comments_media`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `posts_comments_media` ( `ID` int(10) unsigned NOT NULL auto_increment, `UserID` int(10) unsigned NOT NULL, `PostType` tinyint(1) NOT NULL, `IsAlbum` enum('Y','N') NOT NULL, `MediaID` int(10) unsigned NOT NULL, `Text` text NOT NULL, `Time` varchar(25) NOT NULL, `Replies` int(10) unsigned NOT NULL default '0', `ParentNodeID` int(10) unsigned NOT NULL default '0', `Likes` int(10) unsigned NOT NULL default '0', `Dislikes` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `posts_comments_media` -- LOCK TABLES `posts_comments_media` WRITE; /*!40000 ALTER TABLE `posts_comments_media` DISABLE KEYS */; /*!40000 ALTER TABLE `posts_comments_media` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `posts_discussions` -- DROP TABLE IF EXISTS `posts_discussions`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `posts_discussions` ( `ID` int(10) unsigned NOT NULL auto_increment, `Title` varchar(255) NOT NULL, `Text` text NOT NULL, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `posts_discussions` -- LOCK TABLES `posts_discussions` WRITE; /*!40000 ALTER TABLE `posts_discussions` DISABLE KEYS */; /*!40000 ALTER TABLE `posts_discussions` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `posts_links` -- DROP TABLE IF EXISTS `posts_links`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `posts_links` ( `ID` int(10) unsigned NOT NULL auto_increment, `Title` varchar(255) NOT NULL, `URL` text NOT NULL, `Host` varchar(100) NOT NULL, `Description` text NOT NULL, `Text` text NOT NULL, `Thumbnail` varchar(255) default NULL, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `posts_links` -- LOCK TABLES `posts_links` WRITE; /*!40000 ALTER TABLE `posts_links` DISABLE KEYS */; /*!40000 ALTER TABLE `posts_links` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `posts_mentions` -- DROP TABLE IF EXISTS `posts_mentions`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `posts_mentions` ( `ID` int(10) unsigned NOT NULL auto_increment, `PostID` int(10) unsigned NOT NULL, `MentionID` int(10) unsigned NOT NULL, `IsUser` enum('Y','N') default 'Y', PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `posts_mentions` -- LOCK TABLES `posts_mentions` WRITE; /*!40000 ALTER TABLE `posts_mentions` DISABLE KEYS */; /*!40000 ALTER TABLE `posts_mentions` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `posts_news` -- DROP TABLE IF EXISTS `posts_news`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `posts_news` ( `ID` int(10) unsigned NOT NULL auto_increment, `Text` text NOT NULL, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `posts_news` -- LOCK TABLES `posts_news` WRITE; /*!40000 ALTER TABLE `posts_news` DISABLE KEYS */; /*!40000 ALTER TABLE `posts_news` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `posts_photos` -- DROP TABLE IF EXISTS `posts_photos`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `posts_photos` ( `ID` int(10) unsigned NOT NULL auto_increment, `IsAlbum` enum('Y','N') NOT NULL, `MediaID` int(10) unsigned NOT NULL, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `posts_photos` -- LOCK TABLES `posts_photos` WRITE; /*!40000 ALTER TABLE `posts_photos` DISABLE KEYS */; /*!40000 ALTER TABLE `posts_photos` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `posts_photos_albums` -- DROP TABLE IF EXISTS `posts_photos_albums`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `posts_photos_albums` ( `ID` int(10) unsigned NOT NULL auto_increment, `UserID` int(10) unsigned NOT NULL, `IsWall` enum('Y','N') NOT NULL, `Title` varchar(255) NOT NULL, `Text` text NOT NULL, `Time` varchar(25) NOT NULL, `ThumbnailID` int(10) unsigned NOT NULL default '0', `New` int(10) unsigned NOT NULL default '0', `Total` int(10) unsigned NOT NULL default '0', `Favorits` int(10) unsigned NOT NULL default '0', `Likes` int(10) unsigned NOT NULL default '0', `Dislikes` int(10) unsigned NOT NULL default '0', `Comments` int(10) unsigned NOT NULL default '0', `PComments` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`ID`) ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `posts_photos_albums` -- LOCK TABLES `posts_photos_albums` WRITE; /*!40000 ALTER TABLE `posts_photos_albums` DISABLE KEYS */; INSERT INTO `posts_photos_albums` VALUES (1,1,'Y','Wall Photos','','',0,0,0,0,0,0,0,0); /*!40000 ALTER TABLE `posts_photos_albums` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `posts_photos_sources` -- DROP TABLE IF EXISTS `posts_photos_sources`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `posts_photos_sources` ( `ID` int(10) unsigned NOT NULL auto_increment, `AlbumID` int(10) unsigned NOT NULL, `Source` varchar(255) NOT NULL, `Thumbnail` varchar(255) NOT NULL, `Text` text NOT NULL, `Time` varchar(25) NOT NULL, `Favorits` int(10) unsigned NOT NULL default '0', `Likes` int(10) unsigned NOT NULL default '0', `Dislikes` int(10) unsigned NOT NULL default '0', `Comments` int(10) unsigned NOT NULL default '0', `PComments` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `posts_photos_sources` -- LOCK TABLES `posts_photos_sources` WRITE; /*!40000 ALTER TABLE `posts_photos_sources` DISABLE KEYS */; /*!40000 ALTER TABLE `posts_photos_sources` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `posts_polls` -- DROP TABLE IF EXISTS `posts_polls`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `posts_polls` ( `ID` int(10) unsigned NOT NULL auto_increment, `Question` varchar(255) NOT NULL, `Votes` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `posts_polls` -- LOCK TABLES `posts_polls` WRITE; /*!40000 ALTER TABLE `posts_polls` DISABLE KEYS */; /*!40000 ALTER TABLE `posts_polls` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `posts_polls_options` -- DROP TABLE IF EXISTS `posts_polls_options`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `posts_polls_options` ( `ID` int(10) unsigned NOT NULL auto_increment, `Title` varchar(255) NOT NULL, `PollID` int(10) unsigned NOT NULL, `Votes` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `posts_polls_options` -- LOCK TABLES `posts_polls_options` WRITE; /*!40000 ALTER TABLE `posts_polls_options` DISABLE KEYS */; /*!40000 ALTER TABLE `posts_polls_options` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `posts_questions` -- DROP TABLE IF EXISTS `posts_questions`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `posts_questions` ( `ID` int(10) unsigned NOT NULL auto_increment, `Title` varchar(255) NOT NULL, `Text` text NOT NULL, `Answers` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `posts_questions` -- LOCK TABLES `posts_questions` WRITE; /*!40000 ALTER TABLE `posts_questions` DISABLE KEYS */; /*!40000 ALTER TABLE `posts_questions` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `posts_questions_answers` -- DROP TABLE IF EXISTS `posts_questions_answers`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `posts_questions_answers` ( `ID` int(10) unsigned NOT NULL auto_increment, `UserID` int(10) unsigned NOT NULL, `Text` text NOT NULL, `Time` varchar(25) NOT NULL, `Votes` int(10) NOT NULL default '0', `Notes` int(10) unsigned NOT NULL default '0', `QuestionID` int(10) unsigned NOT NULL, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `posts_questions_answers` -- LOCK TABLES `posts_questions_answers` WRITE; /*!40000 ALTER TABLE `posts_questions_answers` DISABLE KEYS */; /*!40000 ALTER TABLE `posts_questions_answers` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `posts_questions_notes` -- DROP TABLE IF EXISTS `posts_questions_notes`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `posts_questions_notes` ( `ID` int(10) unsigned NOT NULL auto_increment, `UserID` int(10) unsigned NOT NULL, `Text` text NOT NULL, `Time` varchar(25) NOT NULL, `AnswerID` int(10) unsigned NOT NULL, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `posts_questions_notes` -- LOCK TABLES `posts_questions_notes` WRITE; /*!40000 ALTER TABLE `posts_questions_notes` DISABLE KEYS */; /*!40000 ALTER TABLE `posts_questions_notes` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `posts_tracks` -- DROP TABLE IF EXISTS `posts_tracks`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `posts_tracks` ( `ID` int(10) unsigned NOT NULL auto_increment, `Source` int(10) unsigned NOT NULL, `Title` varchar(255) NOT NULL, `Description` varchar(255) NOT NULL, `Text` text NOT NULL, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `posts_tracks` -- LOCK TABLES `posts_tracks` WRITE; /*!40000 ALTER TABLE `posts_tracks` DISABLE KEYS */; /*!40000 ALTER TABLE `posts_tracks` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `posts_videos` -- DROP TABLE IF EXISTS `posts_videos`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `posts_videos` ( `ID` int(10) unsigned NOT NULL auto_increment, `IsAlbum` enum('Y','N') NOT NULL, `MediaID` int(10) unsigned NOT NULL, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `posts_videos` -- LOCK TABLES `posts_videos` WRITE; /*!40000 ALTER TABLE `posts_videos` DISABLE KEYS */; /*!40000 ALTER TABLE `posts_videos` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `posts_videos_albums` -- DROP TABLE IF EXISTS `posts_videos_albums`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `posts_videos_albums` ( `ID` int(10) unsigned NOT NULL auto_increment, `UserID` int(10) unsigned NOT NULL, `IsWall` enum('Y','N') NOT NULL, `Title` varchar(255) NOT NULL, `Text` text NOT NULL, `Time` varchar(25) NOT NULL, `ThumbnailID` int(10) unsigned NOT NULL default '0', `New` int(10) unsigned NOT NULL default '0', `Total` int(10) unsigned NOT NULL default '0', `Favorits` int(10) unsigned NOT NULL default '0', `Likes` int(10) unsigned NOT NULL default '0', `Dislikes` int(10) unsigned NOT NULL default '0', `Comments` int(10) unsigned NOT NULL default '0', `PComments` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`ID`) ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `posts_videos_albums` -- LOCK TABLES `posts_videos_albums` WRITE; /*!40000 ALTER TABLE `posts_videos_albums` DISABLE KEYS */; INSERT INTO `posts_videos_albums` VALUES (1,1,'Y','Wall Videos','','',0,0,0,0,0,0,0,0); /*!40000 ALTER TABLE `posts_videos_albums` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `posts_videos_sources` -- DROP TABLE IF EXISTS `posts_videos_sources`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `posts_videos_sources` ( `ID` int(10) unsigned NOT NULL auto_increment, `AlbumID` int(10) unsigned NOT NULL, `Source` varchar(255) NOT NULL, `Type` varchar(25) NOT NULL, `Thumbnail` varchar(255) NOT NULL, `Text` text NOT NULL, `Time` varchar(25) NOT NULL, `Favorits` int(10) unsigned NOT NULL default '0', `Likes` int(10) unsigned NOT NULL default '0', `Dislikes` int(10) unsigned NOT NULL default '0', `Comments` int(10) unsigned NOT NULL default '0', `PComments` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `posts_videos_sources` -- LOCK TABLES `posts_videos_sources` WRITE; /*!40000 ALTER TABLE `posts_videos_sources` DISABLE KEYS */; /*!40000 ALTER TABLE `posts_videos_sources` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `system_errors` -- DROP TABLE IF EXISTS `system_errors`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `system_errors` ( `ID` int(10) unsigned NOT NULL auto_increment, `Error` text NOT NULL, `Time` varchar(100) NOT NULL, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `system_errors` -- LOCK TABLES `system_errors` WRITE; /*!40000 ALTER TABLE `system_errors` DISABLE KEYS */; /*!40000 ALTER TABLE `system_errors` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `system_languages` -- DROP TABLE IF EXISTS `system_languages`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `system_languages` ( `ID` int(10) unsigned NOT NULL auto_increment, `Title` varchar(255) NOT NULL, `Translation` varchar(255) NOT NULL, `Code` varchar(255) NOT NULL, `Dir` enum('LTR','RTL') NOT NULL default 'LTR', PRIMARY KEY (`ID`) ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `system_languages` -- LOCK TABLES `system_languages` WRITE; /*!40000 ALTER TABLE `system_languages` DISABLE KEYS */; INSERT INTO `system_languages` VALUES (1,'English','English','EN','LTR'),(2,'Arabic','Arabic','AR','RTL'); /*!40000 ALTER TABLE `system_languages` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `system_settings` -- DROP TABLE IF EXISTS `system_settings`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `system_settings` ( `SystemLive` enum('Y','N') NOT NULL, `SystemMessage` text NOT NULL, `RegistrationLive` enum('Y','N') NOT NULL, `SystemTitle` varchar(255) NOT NULL, `SystemDescription` text NOT NULL, `SystemDomain` varchar(255) NOT NULL, `SystemURL` varchar(255) NOT NULL, `RECAPTCHA_PUBLICKEY` text NOT NULL, `RECAPTCHA_PRIVATEKEY` text NOT NULL, `TW_APPID` text NOT NULL, `TW_SECRET` text NOT NULL, `FB_APPID` text NOT NULL, `FB_SECRET` text NOT NULL, `MaxResults` tinyint(1) NOT NULL default '10', `MaxFeeds` tinyint(1) NOT NULL default '10', `MaxMediaFeeds` tinyint(1) NOT NULL default '24', `MaxQComments` tinyint(1) NOT NULL default '10', `MaxQCommentsViewed` tinyint(1) NOT NULL default '3', `MaxComments` tinyint(1) NOT NULL default '10', `MaxReplies` tinyint(1) NOT NULL default '5', `MaxAnswers` tinyint(1) NOT NULL default '10', `MaxNotes` tinyint(1) NOT NULL default '5', `MaxWho` tinyint(1) NOT NULL default '100', `MaxPeople` tinyint(1) NOT NULL default '20', `MaxConversations` tinyint(1) NOT NULL default '10' ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `system_settings` -- LOCK TABLES `system_settings` WRITE; /*!40000 ALTER TABLE `system_settings` DISABLE KEYS */; INSERT INTO `system_settings` VALUES ('Y','We will back soon','Y','Convict Cartel','','www.convictcartel.com','www.convictcartel.com','','','','','','',10,10,12,10,3,5,5,5,5,50,10,10); /*!40000 ALTER TABLE `system_settings` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `users` -- DROP TABLE IF EXISTS `users`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `users` ( `UserID` int(10) unsigned NOT NULL auto_increment, `UserEmail` varchar(255) NOT NULL, `UserName` varchar(255) NOT NULL, `UserToken` varchar(255) NOT NULL, `UserPassword` varchar(255) NOT NULL, `UserGroup` tinyint(1) unsigned NOT NULL default '3', `fb_UserID` varchar(255) default NULL, `fb_UserName` varchar(255) default NULL, `fb_Token` varchar(255) default NULL, `fb_connected` enum('Y','N') NOT NULL default 'N', `tw_UserID` int(10) unsigned default NULL, `tw_Token` varchar(200) default NULL, `tw_UserName` varchar(200) default NULL, `tw_TokenSecret` varchar(200) default NULL, `tw_connected` enum('Y','N') NOT NULL default 'N', `UserFirstName` varchar(200) NOT NULL, `UserLastName` varchar(200) NOT NULL, `UserAvatarPath` varchar(200) NOT NULL default 'content/themes/default/images/misc/no_avatar.jpg', `UserAvatarPathMedium` varchar(200) NOT NULL default 'content/themes/default/images/misc/no_avatar_medium.jpg', `UserAvatarPathSmall` varchar(200) NOT NULL default 'content/themes/default/images/misc/no_avatar_small.jpg', `UserSex` enum('M','F') NOT NULL, `UserBirthMonth` int(10) unsigned NOT NULL, `UserBirthDay` int(10) unsigned NOT NULL, `UserBirthYear` int(10) unsigned NOT NULL, `UserCountry` varchar(25) NOT NULL, `UserWebsite` varchar(255) NOT NULL, `UserBiography` varchar(255) NOT NULL, `privacyFB` enum('Y','N') NOT NULL default 'N', `privacyTW` enum('Y','N') NOT NULL default 'N', `UserWallPhotos` int(10) unsigned NOT NULL, `UserWallVideos` int(10) unsigned NOT NULL, `UserPosts` int(10) unsigned NOT NULL default '0', `UserFollowings` int(10) unsigned NOT NULL default '0', `UserFollowers` int(10) unsigned NOT NULL default '0', `UserMessages` int(10) unsigned NOT NULL default '0', `UserNewMessages` int(10) unsigned NOT NULL default '0', `UserMessaged` enum('Y','N') NOT NULL default 'N', `UserNotifications` int(10) unsigned NOT NULL default '0', `UserNewNotifications` int(10) unsigned NOT NULL default '0', `UserNotified` enum('Y','N') NOT NULL default 'N', `UserIP` varchar(50) NOT NULL, `UserLastLogin` varchar(25) NOT NULL, `SignupDate` varchar(25) NOT NULL, `Verified` enum('Y','N') NOT NULL default 'N', `ActivationCode` varchar(200) NOT NULL, `GettingStarted` enum('Y','N') NOT NULL default 'N', `Reseted` enum('Y','N') NOT NULL default 'N', `ResetCode` varchar(200) NOT NULL, `Blocked` enum('Y','N') NOT NULL default 'N', `Offline` enum('Y','N') NOT NULL default 'N', PRIMARY KEY (`UserID`), UNIQUE KEY `UserEmail` (`UserEmail`), UNIQUE KEY `UserToken` (`UserToken`), UNIQUE KEY `UserName` (`UserName`), UNIQUE KEY `tw_UserID` (`tw_UserID`), UNIQUE KEY `fb_UserID` (`fb_UserID`) ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `users` -- LOCK TABLES `users` WRITE; /*!40000 ALTER TABLE `users` DISABLE KEYS */; INSERT INTO `users` VALUES (1,'convictcartel@yahoo.com','convictcartel','f06aba37537d54d20ef6c04dce23461d','f59d38525ae2f1b0fdbace295cb6c359',1,NULL,NULL,NULL,'N',NULL,NULL,NULL,NULL,'N','Convict','Cartel','content/themes/default/images/misc/no_avatar.jpg','content/themes/default/images/misc/no_avatar_medium.jpg','content/themes/default/images/misc/no_avatar_small.jpg','M',0,0,0,'','','','N','N',1,1,0,0,0,0,0,'N',0,0,'N','108.215.62.48','','1378492124','Y','','Y','N','','N','N'); /*!40000 ALTER TABLE `users` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `users_answers_votes` -- DROP TABLE IF EXISTS `users_answers_votes`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `users_answers_votes` ( `UserID` int(10) unsigned NOT NULL, `AnswerID` int(10) unsigned NOT NULL, `Voted` enum('U','D') NOT NULL, UNIQUE KEY `UserID_AnswerID` (`UserID`,`AnswerID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `users_answers_votes` -- LOCK TABLES `users_answers_votes` WRITE; /*!40000 ALTER TABLE `users_answers_votes` DISABLE KEYS */; /*!40000 ALTER TABLE `users_answers_votes` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `users_comments_likes` -- DROP TABLE IF EXISTS `users_comments_likes`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `users_comments_likes` ( `UserID` int(10) unsigned NOT NULL, `CommentID` int(10) unsigned NOT NULL, `Liked` enum('Y','N') NOT NULL, UNIQUE KEY `UserID_CommentID` (`UserID`,`CommentID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `users_comments_likes` -- LOCK TABLES `users_comments_likes` WRITE; /*!40000 ALTER TABLE `users_comments_likes` DISABLE KEYS */; /*!40000 ALTER TABLE `users_comments_likes` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `users_comments_media_likes` -- DROP TABLE IF EXISTS `users_comments_media_likes`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `users_comments_media_likes` ( `UserID` int(10) unsigned NOT NULL, `CommentID` int(10) unsigned NOT NULL, `Liked` enum('Y','N') NOT NULL, UNIQUE KEY `UserID_CommentID` (`UserID`,`CommentID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `users_comments_media_likes` -- LOCK TABLES `users_comments_media_likes` WRITE; /*!40000 ALTER TABLE `users_comments_media_likes` DISABLE KEYS */; /*!40000 ALTER TABLE `users_comments_media_likes` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `users_followings` -- DROP TABLE IF EXISTS `users_followings`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `users_followings` ( `ID` int(10) unsigned NOT NULL auto_increment, `UserID` int(10) unsigned NOT NULL, `FollowingID` int(10) unsigned NOT NULL, PRIMARY KEY (`ID`), UNIQUE KEY `UserID_FollowingID` (`UserID`,`FollowingID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `users_followings` -- LOCK TABLES `users_followings` WRITE; /*!40000 ALTER TABLE `users_followings` DISABLE KEYS */; /*!40000 ALTER TABLE `users_followings` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `users_hidden_posts` -- DROP TABLE IF EXISTS `users_hidden_posts`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `users_hidden_posts` ( `UserID` int(10) unsigned NOT NULL, `ActivityID` int(10) unsigned NOT NULL, PRIMARY KEY (`UserID`,`ActivityID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `users_hidden_posts` -- LOCK TABLES `users_hidden_posts` WRITE; /*!40000 ALTER TABLE `users_hidden_posts` DISABLE KEYS */; /*!40000 ALTER TABLE `users_hidden_posts` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `users_hidden_users` -- DROP TABLE IF EXISTS `users_hidden_users`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `users_hidden_users` ( `UserID` int(10) unsigned NOT NULL, `HiddenID` int(10) unsigned NOT NULL, PRIMARY KEY (`UserID`,`HiddenID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `users_hidden_users` -- LOCK TABLES `users_hidden_users` WRITE; /*!40000 ALTER TABLE `users_hidden_users` DISABLE KEYS */; /*!40000 ALTER TABLE `users_hidden_users` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `users_media_favorites` -- DROP TABLE IF EXISTS `users_media_favorites`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `users_media_favorites` ( `UserID` int(10) unsigned NOT NULL, `PostType` tinyint(1) unsigned NOT NULL, `IsAlbum` enum('Y','N') NOT NULL, `MediaID` int(10) unsigned NOT NULL, `Favorited` enum('Y','N') NOT NULL default 'N', UNIQUE KEY `UserID_PostType_IsAlbum_MediaID` (`UserID`,`PostType`,`IsAlbum`,`MediaID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `users_media_favorites` -- LOCK TABLES `users_media_favorites` WRITE; /*!40000 ALTER TABLE `users_media_favorites` DISABLE KEYS */; /*!40000 ALTER TABLE `users_media_favorites` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `users_media_likes` -- DROP TABLE IF EXISTS `users_media_likes`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `users_media_likes` ( `UserID` int(10) unsigned NOT NULL, `PostType` tinyint(1) unsigned NOT NULL, `IsAlbum` enum('Y','N') NOT NULL, `MediaID` int(10) unsigned NOT NULL, `Liked` enum('Y','N') NOT NULL, UNIQUE KEY `UserID_PostType_IsAlbum_MediaID` (`UserID`,`PostType`,`IsAlbum`,`MediaID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `users_media_likes` -- LOCK TABLES `users_media_likes` WRITE; /*!40000 ALTER TABLE `users_media_likes` DISABLE KEYS */; /*!40000 ALTER TABLE `users_media_likes` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `users_online` -- DROP TABLE IF EXISTS `users_online`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `users_online` ( `ID` int(10) unsigned NOT NULL auto_increment, `UserID` int(10) unsigned default NULL, `IP` varchar(255) default NULL, `Time` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, PRIMARY KEY (`ID`), UNIQUE KEY `UserID` (`UserID`), UNIQUE KEY `IP` (`IP`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `users_online` -- LOCK TABLES `users_online` WRITE; /*!40000 ALTER TABLE `users_online` DISABLE KEYS */; /*!40000 ALTER TABLE `users_online` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `users_polls_options` -- DROP TABLE IF EXISTS `users_polls_options`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `users_polls_options` ( `UserID` int(10) unsigned NOT NULL, `PollID` int(10) unsigned NOT NULL, `OptionID` int(10) unsigned NOT NULL, UNIQUE KEY `UserID_PollID` (`UserID`,`PollID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `users_polls_options` -- LOCK TABLES `users_polls_options` WRITE; /*!40000 ALTER TABLE `users_polls_options` DISABLE KEYS */; /*!40000 ALTER TABLE `users_polls_options` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `users_posts_favorites` -- DROP TABLE IF EXISTS `users_posts_favorites`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `users_posts_favorites` ( `UserID` int(10) unsigned NOT NULL, `PostType` tinyint(1) unsigned NOT NULL, `PostID` int(10) unsigned NOT NULL, `Favorited` enum('Y','N') NOT NULL default 'N', UNIQUE KEY `UserID_PostType_PostID` (`UserID`,`PostType`,`PostID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `users_posts_favorites` -- LOCK TABLES `users_posts_favorites` WRITE; /*!40000 ALTER TABLE `users_posts_favorites` DISABLE KEYS */; /*!40000 ALTER TABLE `users_posts_favorites` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `users_posts_likes` -- DROP TABLE IF EXISTS `users_posts_likes`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `users_posts_likes` ( `UserID` int(10) unsigned NOT NULL, `PostType` tinyint(1) unsigned NOT NULL, `PostID` int(10) unsigned NOT NULL, `Liked` enum('Y','N') NOT NULL, UNIQUE KEY `UserID_PostType_PostID` (`UserID`,`PostType`,`PostID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `users_posts_likes` -- LOCK TABLES `users_posts_likes` WRITE; /*!40000 ALTER TABLE `users_posts_likes` DISABLE KEYS */; /*!40000 ALTER TABLE `users_posts_likes` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `users_spammers` -- DROP TABLE IF EXISTS `users_spammers`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `users_spammers` ( `UserID` int(10) unsigned NOT NULL, `SpammerID` int(10) unsigned NOT NULL, PRIMARY KEY (`UserID`,`SpammerID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `users_spammers` -- LOCK TABLES `users_spammers` WRITE; /*!40000 ALTER TABLE `users_spammers` DISABLE KEYS */; /*!40000 ALTER TABLE `users_spammers` ENABLE KEYS */; UNLOCK TABLES; -- -- Dumping routines for database 'mailing' -- DELIMITER ;; DELIMITER ; /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; -- Dump completed on 2013-09-07 1:12:31