-- RAY AS IT WAS INTEGRATED -- -------------------------------------------------------- -- -- Table structure for table `RayBoardBoards` -- CREATE TABLE IF NOT EXISTS `RayBoardCurrentUsers` ( `ID` varchar(20) NOT NULL default '', `Nick` varchar(36) 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 '', `When` int(11) NOT NULL default '0', `Status` enum('new','old','idle') NOT NULL default 'new', PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXISTS `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', PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXISTS `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', PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- 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', `Desc` text NOT NULL, `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', PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `RayChatCurrentUsers` -- -- -------------------------------------------------------- -- -- Table structure for table `RayChatMessages` -- CREATE TABLE `RayChatMessages` ( `ID` int(11) NOT NULL auto_increment, `Room` int(11) NOT NULL default '0', `Sender` varchar(20) NOT NULL default '', `Recipient` varchar(20) NOT NULL default '', `Whisper` enum('true','false') NOT NULL default 'false', `Message` text NOT NULL, `Style` text NOT NULL, `Type` varchar(10) NOT NULL default 'text', `When` int(11) NOT NULL default '0', PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `RayChatMessages` -- -- -------------------------------------------------------- -- -- 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 '', PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `RayChatProfiles` -- -- -------------------------------------------------------- -- -- 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 '', `Desc` text NOT NULL, `OwnerID` varchar(20) NOT NULL default '0', `When` int(11) default NULL, `Status` enum('normal','delete') NOT NULL default 'normal', PRIMARY KEY (`ID`), UNIQUE KEY `Name` (`Name`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- 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'); INSERT INTO `RayChatRooms` VALUES(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', PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `RayChatRoomsUsers` -- CREATE TABLE IF NOT EXISTS `RayChatMembershipsSettings` ( `ID` int(11) NOT NULL auto_increment, `Name` varchar(20) NOT NULL default '' UNIQUE, `Caption` varchar(255) NOT NULL default '', `Type` enum('boolean','number','custom') NOT NULL default 'boolean', `Default` varchar(255) NOT NULL default '', `Range` int(3) NOT NULL default '3', `Error` varchar(255) NOT NULL default '', PRIMARY KEY (`ID`) ); TRUNCATE TABLE `RayChatMembershipsSettings`; INSERT INTO `RayChatMembershipsSettings`(`Name`, `Caption`, `Type`, `Default`, `Range`, `Error`) VALUES('RoomCreate', 'New Rooms Creating:', 'boolean', 'true', '1', 'RayzRoomCreate'); INSERT INTO `RayChatMembershipsSettings`(`Name`, `Caption`, `Type`, `Default`, `Range`, `Error`) VALUES('PrivateRoomCreate', 'Private Rooms Creating:', 'boolean', 'true', '1', 'RayzPrivateRoomCreate'); INSERT INTO `RayChatMembershipsSettings`(`Name`, `Caption`, `Type`, `Default`, `Range`, `Error`) VALUES('AVCasting', 'Audio/Video Casting:', 'boolean', 'true', '1', 'RayzAVCasting'); INSERT INTO `RayChatMembershipsSettings`(`Name`, `Caption`, `Type`, `Default`, `Range`, `Error`) VALUES('AVPlaying', 'Audio/Video Playing (for Messenger):', 'boolean', 'true', '1', 'RayzAVPlaying'); INSERT INTO `RayChatMembershipsSettings`(`Name`, `Caption`, `Type`, `Default`, `Range`, `Error`) VALUES('AVLargeWindow', 'Enable Large Video Window:', 'boolean', 'true', '1', 'RayzAVLargeWindow'); INSERT INTO `RayChatMembershipsSettings`(`Name`, `Caption`, `Type`, `Default`, `Range`, `Error`) VALUES('FileSend', 'Files Sending:', 'boolean', 'true', '1', 'RayzFileSend'); INSERT INTO `RayChatMembershipsSettings`(`Name`, `Caption`, `Type`, `Default`, `Range`, `Error`) VALUES('WhisperMessages', 'Whispering Messages:', 'boolean', 'true', '1', 'RayzWhisperMessages'); INSERT INTO `RayChatMembershipsSettings`(`Name`, `Caption`, `Type`, `Default`, `Range`, `Error`) VALUES('DirectMessages', 'Addressed Messages:', 'boolean', 'true', '1', 'RayzDirectMessages'); INSERT INTO `RayChatMembershipsSettings`(`Name`, `Caption`, `Type`, `Default`, `Range`, `Error`) VALUES('RoomsNumber', 'Maximum Rooms Number:', 'number', '100', '3', 'RayzRoomsNumber'); INSERT INTO `RayChatMembershipsSettings`(`Name`, `Caption`, `Type`, `Default`, `Range`, `Error`) VALUES('ChatsNumber', 'Maximum Private Chats Number:', 'number', '100', '3', 'RayzChatsNumber'); INSERT INTO `RayChatMembershipsSettings`(`Name`, `Caption`, `Type`, `Default`, `Range`, `Error`) VALUES('AVWindowsNumber', 'Maximum Video Windows Number:', 'number', '100', '3', 'RayzAVWindowsNumber'); INSERT INTO `RayChatMembershipsSettings`(`Name`, `Caption`, `Type`, `Default`, `Range`, `Error`) VALUES('RestrictedRooms', 'Restricted Rooms:', 'custom', '', '1', 'RayzRestrictedRooms'); CREATE TABLE IF NOT EXISTS `RayChatMemberships` ( `ID` int(11) NOT NULL auto_increment, `Setting` int(11) NOT NULL default '0', `Value` varchar(255) NOT NULL default '', `Membership` int(11) NOT NULL default '0', PRIMARY KEY (`ID`) ); TRUNCATE TABLE `RayChatMemberships`; -- -------------------------------------------------------- -- -- 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', PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `RayImContacts` -- -- -------------------------------------------------------- -- -- Table structure for table `RayImMessages` -- CREATE TABLE `RayImMessages` ( `ID` int(11) NOT NULL auto_increment, `ContactID` int(11) NOT NULL default '0', `Message` text NOT NULL, `Style` text NOT NULL, `Type` varchar(10) NOT NULL default 'text', `When` int(11) NOT NULL default '0', PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `RayImMessages` -- -- -------------------------------------------------------- -- -- 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', PRIMARY KEY (`ID`), KEY `RecipientID` (`RecipientID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `RayImPendings` -- -- -------------------------------------------------------- -- -- Table structure for table `RayImProfiles` -- CREATE TABLE `RayImProfiles` ( `ID` int(11) NOT NULL default '0', `Smileset` varchar(255) NOT NULL default '', PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `RayImProfiles` -- -- -------------------------------------------------------- -- -- 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 '', `Tags` text NOT NULL, `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', `Rate` float NOT NULL, `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', PRIMARY KEY (`ID`), KEY (`Owner`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `RayMp3Files` -- -- -------------------------------------------------------- -- -- 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 `TokenId` (`ID`,`Token`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `RayMp3Tokens` -- -- -------------------------------------------------------- -- -- Table structure for table `RayShoutboxMessages` -- CREATE TABLE `RayShoutboxMessages` ( `ID` int(11) NOT NULL auto_increment, `UserID` varchar(20) NOT NULL default '0', `Msg` text NOT NULL, `When` int(11) NOT NULL default '0', PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `RayShoutboxMessages` -- -- -------------------------------------------------------- -- -- 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 '', `Tags` text NOT NULL, `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', `Rate` float NOT NULL, `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 '', PRIMARY KEY (`ID`), KEY (`Owner`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `RayVideoFiles` -- -- -------------------------------------------------------- -- -- Table structure for table `RayVideoFiles` -- 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 `TokenId` (`ID`,`Token`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `RayVideoFiles` -- -- -------------------------------------------------------- -- -- 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 '', `Tags` text NOT NULL, `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', PRIMARY KEY (`ID`), KEY (`Owner`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- 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 `TokenId` (`ID`,`Token`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- RAY AS IT WAS INTEGRATED [END] -- --------------------------------------------------------