SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!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 */;
-- --------------------------------------------------------
-- Table structure for table `Profiles`
CREATE TABLE `Profiles` (
`ID` int(10) unsigned NOT NULL AUTO_INCREMENT,
`NickName` varchar(255) NOT NULL DEFAULT '',
`Email` varchar(255) NOT NULL DEFAULT '',
`Password` varchar(40) NOT NULL DEFAULT '',
`Salt` varchar(10) NOT NULL DEFAULT '',
`Status` enum('Unconfirmed','Approval','Active','Rejected','Suspended') NOT NULL DEFAULT 'Unconfirmed',
`Role` tinyint(4) unsigned NOT NULL DEFAULT '1',
`Couple` int(10) unsigned NOT NULL DEFAULT '0',
`Sex` varchar(255) NOT NULL DEFAULT '',
`LookingFor` set('male','female') NOT NULL DEFAULT '',
`DescriptionMe` text NOT NULL,
`Country` varchar(255) NOT NULL DEFAULT '',
`City` varchar(255) NOT NULL,
`DateOfBirth` date NOT NULL,
`Featured` tinyint(1) NOT NULL DEFAULT '0',
`DateReg` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`DateLastEdit` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`DateLastLogin` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`DateLastNav` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`aff_num` int(10) unsigned NOT NULL DEFAULT '0',
`Tags` varchar(255) NOT NULL DEFAULT '',
`zip` varchar(255) NOT NULL,
`EmailNotify` tinyint(1) NOT NULL DEFAULT '1',
`LangID` int(11) NOT NULL,
`UpdateMatch` tinyint(1) NOT NULL DEFAULT '1',
`Views` int(11) NOT NULL,
`RateCount` int(11) NOT NULL,
`CommentsCount` int(11) NOT NULL,
`PrivacyDefaultGroup` int(11) NOT NULL DEFAULT '3',
`allow_view_to` int(11) NOT NULL DEFAULT '3',
`UserStatus` varchar(64) NOT NULL DEFAULT 'online',
`UserStatusMessage` varchar(255) NOT NULL DEFAULT '',
`UserStatusMessageWhen` int(10) NOT NULL,
`Avatar` int(10) unsigned NOT NULL,
`Height` varchar(255) NOT NULL,
`Weight` varchar(255) NOT NULL,
`Income` varchar(255) NOT NULL,
`Occupation` varchar(255) NOT NULL,
`Religion` varchar(255) NOT NULL,
`Education` varchar(255) NOT NULL,
`RelationshipStatus` enum('Single','In a Relationship','Engaged','Married','It''s Complicated','In an Open Relationship') DEFAULT NULL,
`Interests` text NOT NULL,
`Ethnicity` varchar(255) NOT NULL,
`FavoriteSites` text NOT NULL,
`FavoriteMusic` text NOT NULL,
`FavoriteFilms` text NOT NULL,
`FavoriteBooks` text NOT NULL,
`FullName` varchar(255) NOT NULL,
`FirstName` varchar(255) NOT NULL,
`LastName` varchar(255) NOT NULL,
UNIQUE KEY `NickName` (`NickName`),
KEY `Country` (`Country`),
KEY `DateOfBirth` (`DateOfBirth`),
KEY `DateReg` (`DateReg`),
KEY `DateLastNav` (`DateLastNav`),
FULLTEXT KEY `NickName_2` (`NickName`,`FullName`,`FirstName`,`LastName`,`City`,`DescriptionMe`,`Tags`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
-- Dumping data for table `Profiles`
INSERT INTO `Profiles` VALUES
(1, '[[admin_username]]', '[[admin_email]]', '[[admin_pass]]', '[[salt]]', 'Active', 3, 0, '', '', '', '', '', '0000-00-00', 0, '[[regtime]]', '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0, '', '', 1, 0, 1, 0, 0, 0, 0, 3, 3, 'online', '', 0, 0, '', '', '', '', '', '', NULL, '', '', '', '', '', '', '', '', '', '');
-- --------------------------------------------------------
-- Table structure for table `RayBoardBoards`
CREATE TABLE `RayBoardBoards` (
`ID` int(11) NOT NULL AUTO_INCREMENT,
`Name` varchar(255) NOT NULL DEFAULT '',
`Password` varchar(255) NOT NULL DEFAULT '',
`OwnerID` varchar(20) NOT NULL DEFAULT '0',
`When` int(11) DEFAULT NULL,
`Status` enum('new','normal','delete') NOT NULL DEFAULT 'new',
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `RayBoardCurrentUsers`
CREATE TABLE `RayBoardCurrentUsers` (
`ID` varchar(20) NOT NULL DEFAULT '',
`Nick` varchar(255) NOT NULL,
`Sex` enum('M','F') NOT NULL DEFAULT 'M',
`Age` int(11) NOT NULL DEFAULT '0',
`Photo` varchar(255) NOT NULL DEFAULT '',
`Profile` varchar(255) NOT NULL DEFAULT '',
`Desc` varchar(255) NOT NULL,
`When` int(11) NOT NULL DEFAULT '0',
`Status` enum('new','old','idle') NOT NULL DEFAULT 'new',
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
-- Table structure for table `RayBoardUsers`
CREATE TABLE `RayBoardUsers` (
`ID` int(11) NOT NULL AUTO_INCREMENT,
`Board` int(11) NOT NULL DEFAULT '0',
`User` varchar(20) NOT NULL DEFAULT '',
`When` int(11) DEFAULT NULL,
`Status` enum('normal','delete') NOT NULL DEFAULT 'normal',
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `RayChatCurrentUsers`
CREATE TABLE `RayChatCurrentUsers` (
`ID` varchar(20) NOT NULL DEFAULT '',
`Nick` varchar(36) NOT NULL DEFAULT '',
`Sex` enum('M','F') NOT NULL DEFAULT 'M',
`Age` int(11) NOT NULL DEFAULT '0',
`Photo` varchar(255) NOT NULL DEFAULT '',
`Profile` varchar(255) NOT NULL DEFAULT '',
`Online` varchar(10) NOT NULL DEFAULT 'online',
`Start` int(11) NOT NULL DEFAULT '0',
`When` int(11) NOT NULL DEFAULT '0',
`Status` enum('new','old','idle','kick','type','online') NOT NULL DEFAULT 'new',
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
-- Table structure for table `RayChatHistory`
CREATE TABLE `RayChatHistory` (
`ID` int(11) NOT NULL AUTO_INCREMENT,
`Room` int(11) NOT NULL DEFAULT '0',
`SndRcp` varchar(40) NOT NULL DEFAULT '',
`Sender` varchar(20) NOT NULL DEFAULT '',
`Recipient` varchar(20) NOT NULL DEFAULT '',
`When` int(11) NOT NULL DEFAULT '0',
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `RayChatMemberships`
CREATE TABLE `RayChatMemberships` (
`ID` int(11) NOT NULL AUTO_INCREMENT,
`Setting` int(11) NOT NULL DEFAULT '0',
`Value` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`Membership` int(11) NOT NULL DEFAULT '0',
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `RayChatMembershipsSettings`
CREATE TABLE `RayChatMembershipsSettings` (
`ID` int(11) NOT NULL AUTO_INCREMENT,
`Name` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`Caption` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`Type` enum('boolean','number','custom') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'boolean',
`Default` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`Range` int(3) NOT NULL DEFAULT '3',
`Error` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
UNIQUE KEY `Name` (`Name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=13 ;
-- Dumping data for table `RayChatMembershipsSettings`
INSERT INTO `RayChatMembershipsSettings` VALUES
(1, 'RoomCreate', 'New Rooms Creating:', 'boolean', 'true', 1, 'RayzRoomCreate'),
(2, 'PrivateRoomCreate', 'Private Rooms Creating:', 'boolean', 'true', 1, 'RayzPrivateRoomCreate'),
(3, 'AVCasting', 'Audio/Video Casting:', 'boolean', 'true', 1, 'RayzAVCasting'),
(4, 'AVPlaying', 'Audio/Video Playing (for Messenger):', 'boolean', 'true', 1, 'RayzAVPlaying'),
(5, 'AVLargeWindow', 'Enable Large Video Window:', 'boolean', 'true', 1, 'RayzAVLargeWindow'),
(6, 'FileSend', 'Files Sending:', 'boolean', 'true', 1, 'RayzFileSend'),
(7, 'WhisperMessages', 'Whispering Messages:', 'boolean', 'true', 1, 'RayzWhisperMessages'),
(8, 'DirectMessages', 'Addressed Messages:', 'boolean', 'true', 1, 'RayzDirectMessages'),
(9, 'RoomsNumber', 'Maximum Rooms Number:', 'number', '100', 3, 'RayzRoomsNumber'),
(10, 'ChatsNumber', 'Maximum Private Chats Number:', 'number', '100', 3, 'RayzChatsNumber'),
(11, 'AVWindowsNumber', 'Maximum Video Windows Number:', 'number', '100', 3, 'RayzAVWindowsNumber'),
(12, 'RestrictedRooms', 'Restricted Rooms:', 'custom', '', 1, 'RayzRestrictedRooms');
-- --------------------------------------------------------
-- Table structure for table `RayChatMessages`
CREATE TABLE `RayChatMessages` (
`ID` int(11) NOT NULL AUTO_INCREMENT,
`Room` int(11) NOT NULL DEFAULT '0',
`SndRcp` varchar(40) NOT NULL DEFAULT '',
`Sender` varchar(20) NOT NULL DEFAULT '',
`Recipient` varchar(20) NOT NULL DEFAULT '',
`Whisper` enum('true','false') NOT NULL DEFAULT 'false',
`Type` varchar(10) NOT NULL DEFAULT 'text',
`When` int(11) NOT NULL DEFAULT '0',
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `RayChatProfiles`
CREATE TABLE `RayChatProfiles` (
`ID` varchar(20) NOT NULL DEFAULT '0',
`Banned` enum('true','false') NOT NULL DEFAULT 'false',
`Type` varchar(10) NOT NULL DEFAULT 'full',
`Smileset` varchar(255) NOT NULL DEFAULT '',
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
-- Table structure for table `RayChatRooms`
CREATE TABLE `RayChatRooms` (
`ID` int(11) NOT NULL AUTO_INCREMENT,
`Name` varchar(255) NOT NULL DEFAULT '',
`Password` varchar(255) NOT NULL DEFAULT '',
`OwnerID` varchar(20) NOT NULL DEFAULT '0',
`When` int(11) DEFAULT NULL,
`Status` enum('normal','delete') NOT NULL DEFAULT 'normal',
UNIQUE KEY `Name` (`Name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;
-- Dumping data for table `RayChatRooms`
INSERT INTO `RayChatRooms` VALUES
(1, 'Lobby', '', 'Welcome to our chat! You are in the "Lobby" now, but you can pass into any other public room you wish to - take a look at the "All rooms" box.', '0', 0, 'normal'),
(2, 'Friends', '', 'Welcome to the "Friends" room! This is a public room where you can have a fun chat with existing friends or make new ones! Enjoy!', '0', 1, 'normal');
-- --------------------------------------------------------
-- Table structure for table `RayChatRoomsUsers`
CREATE TABLE `RayChatRoomsUsers` (
`ID` int(11) NOT NULL AUTO_INCREMENT,
`Room` int(11) NOT NULL DEFAULT '0',
`User` varchar(20) NOT NULL DEFAULT '',
`When` int(11) DEFAULT NULL,
`Status` enum('normal','delete') NOT NULL DEFAULT 'normal',
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `RayImContacts`
CREATE TABLE `RayImContacts` (
`ID` int(11) NOT NULL AUTO_INCREMENT,
`SenderID` int(11) NOT NULL DEFAULT '0',
`RecipientID` int(11) NOT NULL DEFAULT '0',
`Online` varchar(10) NOT NULL DEFAULT 'online',
`When` int(11) NOT NULL DEFAULT '0',
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `RayImMessages`
CREATE TABLE `RayImMessages` (
`ID` int(11) NOT NULL AUTO_INCREMENT,
`ContactID` int(11) NOT NULL DEFAULT '0',
`Type` varchar(10) NOT NULL DEFAULT 'text',
`When` int(11) NOT NULL DEFAULT '0',
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `RayImPendings`
CREATE TABLE `RayImPendings` (
`ID` int(11) NOT NULL AUTO_INCREMENT,
`SenderID` int(11) NOT NULL DEFAULT '0',
`RecipientID` int(11) NOT NULL DEFAULT '0',
`Message` varchar(255) NOT NULL DEFAULT '',
`When` int(11) NOT NULL DEFAULT '0',
KEY `RecipientID` (`RecipientID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `RayImProfiles`
CREATE TABLE `RayImProfiles` (
`ID` int(11) NOT NULL DEFAULT '0',
`Smileset` varchar(255) NOT NULL DEFAULT '',
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
-- Table structure for table `RayMp3Files`
CREATE TABLE `RayMp3Files` (
`ID` int(11) NOT NULL AUTO_INCREMENT,
`Categories` text NOT NULL,
`Title` varchar(255) NOT NULL DEFAULT '',
`Uri` varchar(255) NOT NULL DEFAULT '',
`Description` text NOT NULL,
`Time` int(11) NOT NULL DEFAULT '0',
`Date` int(20) NOT NULL DEFAULT '0',
`Reports` int(11) NOT NULL DEFAULT '0',
`Owner` varchar(64) NOT NULL DEFAULT '',
`Listens` int(12) DEFAULT '0',
`RateCount` int(11) NOT NULL,
`CommentsCount` int(11) NOT NULL,
`Featured` tinyint(4) NOT NULL,
`Status` enum('approved','disapproved','pending','processing','failed') NOT NULL DEFAULT 'pending',
UNIQUE KEY `Uri` (`Uri`),
FULLTEXT KEY `ftMain` (`Title`,`Tags`,`Description`,`Categories`),
FULLTEXT KEY `ftTags` (`Tags`),
FULLTEXT KEY `ftCategories` (`Categories`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `RayMp3Tokens`
CREATE TABLE `RayMp3Tokens` (
`ID` int(11) NOT NULL DEFAULT '0',
`Token` varchar(32) NOT NULL DEFAULT '',
`Date` int(20) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`Token`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
-- Table structure for table `RayShoutboxMessages`
CREATE TABLE `RayShoutboxMessages` (
`ID` int(11) NOT NULL AUTO_INCREMENT,
`UserID` varchar(20) NOT NULL DEFAULT '0',
`When` int(11) NOT NULL DEFAULT '0',
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `RayVideoFiles`
CREATE TABLE `RayVideoFiles` (
`ID` int(11) NOT NULL AUTO_INCREMENT,
`Categories` text NOT NULL,
`Title` varchar(255) NOT NULL DEFAULT '',
`Uri` varchar(255) NOT NULL DEFAULT '',
`Description` text NOT NULL,
`Time` int(11) NOT NULL DEFAULT '0',
`Date` int(20) NOT NULL DEFAULT '0',
`Owner` varchar(64) NOT NULL DEFAULT '',
`Views` int(12) DEFAULT '0',
`RateCount` int(11) NOT NULL,
`CommentsCount` int(11) NOT NULL,
`Featured` tinyint(4) NOT NULL,
`Status` enum('approved','disapproved','pending','processing','failed') NOT NULL DEFAULT 'pending',
`Source` varchar(20) NOT NULL DEFAULT '',
`Video` varchar(32) NOT NULL DEFAULT '',
UNIQUE KEY `Uri` (`Uri`),
FULLTEXT KEY `ftMain` (`Title`,`Tags`,`Description`,`Categories`),
FULLTEXT KEY `ftTags` (`Tags`),
FULLTEXT KEY `ftCategories` (`Categories`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `RayVideoTokens`
CREATE TABLE `RayVideoTokens` (
`ID` int(11) NOT NULL DEFAULT '0',
`Token` varchar(32) NOT NULL DEFAULT '',
`Date` int(20) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`Token`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
-- Table structure for table `RayVideo_commentsFiles`
CREATE TABLE `RayVideo_commentsFiles` (
`ID` int(11) NOT NULL AUTO_INCREMENT,
`Categories` text NOT NULL,
`Title` varchar(255) NOT NULL DEFAULT '',
`Uri` varchar(255) NOT NULL DEFAULT '',
`Description` text NOT NULL,
`Time` int(11) NOT NULL DEFAULT '0',
`Date` int(20) NOT NULL DEFAULT '0',
`Owner` varchar(64) NOT NULL DEFAULT '',
`Views` int(12) DEFAULT '0',
`Status` enum('approved','disapproved','pending','processing','failed') NOT NULL DEFAULT 'pending',
UNIQUE KEY `Uri` (`Uri`),
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `RayVideo_commentsTokens`
CREATE TABLE `RayVideo_commentsTokens` (
`ID` int(11) NOT NULL DEFAULT '0',
`Token` varchar(32) NOT NULL DEFAULT '',
`Date` int(20) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`Token`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;