# ************************************************************ # Sequel Pro SQL dump # Version 4541 # # http://www.sequelpro.com/ # https://github.com/sequelpro/sequelpro # # Host: 127.0.0.1 (MySQL 5.5.52-cll-lve) # Datenbank: A918540_fuehls # Erstellt am: 2016-11-25 22:18:37 +0000 # ************************************************************ /*!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 */; /*!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 */; # Export von Tabelle pl_abuse # ------------------------------------------------------------ DROP TABLE IF EXISTS `pl_abuse`; CREATE TABLE `pl_abuse` ( `id` int(11) NOT NULL AUTO_INCREMENT, `imageid` int(11) NOT NULL, `reason` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL, `email` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL, `read` int(11) NOT NULL, `logged` int(11) NOT NULL, `imagelink` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL, `user` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; # Export von Tabelle pl_banned # ------------------------------------------------------------ DROP TABLE IF EXISTS `pl_banned`; CREATE TABLE `pl_banned` ( `id` int(11) NOT NULL, `reason` text CHARACTER SET utf8 NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=cp1251; # Export von Tabelle pl_bannedimages # ------------------------------------------------------------ DROP TABLE IF EXISTS `pl_bannedimages`; CREATE TABLE `pl_bannedimages` ( `id` int(11) NOT NULL AUTO_INCREMENT, `hash` char(32) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; # Export von Tabelle pl_blocked # ------------------------------------------------------------ DROP TABLE IF EXISTS `pl_blocked`; CREATE TABLE `pl_blocked` ( `id` int(11) NOT NULL, `users` text NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=cp1251; # Export von Tabelle pl_comments # ------------------------------------------------------------ DROP TABLE IF EXISTS `pl_comments`; CREATE TABLE `pl_comments` ( `id` int(11) NOT NULL AUTO_INCREMENT, `imageId` int(11) NOT NULL, `userId` int(11) NOT NULL, `created` datetime NOT NULL, `content` text COLLATE utf8_unicode_ci NOT NULL, `thumb` int(11) NOT NULL, `c_like` int(1) NOT NULL, PRIMARY KEY (`id`), KEY `imageId` (`imageId`), KEY `userId` (`userId`,`created`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; # Export von Tabelle pl_commentuploads # ------------------------------------------------------------ DROP TABLE IF EXISTS `pl_commentuploads`; CREATE TABLE `pl_commentuploads` ( `c_id` int(11) NOT NULL, `image_link` text NOT NULL, `thumb_link` text NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=cp1251; # Export von Tabelle pl_fav # ------------------------------------------------------------ DROP TABLE IF EXISTS `pl_fav`; CREATE TABLE `pl_fav` ( `imageId` int(11) NOT NULL, `user` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; # Export von Tabelle pl_imagecolors # ------------------------------------------------------------ DROP TABLE IF EXISTS `pl_imagecolors`; CREATE TABLE `pl_imagecolors` ( `id` int(11) NOT NULL AUTO_INCREMENT, `imageId` int(11) NOT NULL, `r` tinyint(3) unsigned NOT NULL DEFAULT '0', `g` tinyint(3) unsigned NOT NULL DEFAULT '0', `b` tinyint(3) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; # Export von Tabelle pl_images # ------------------------------------------------------------ DROP TABLE IF EXISTS `pl_images`; CREATE TABLE `pl_images` ( `id` int(11) NOT NULL AUTO_INCREMENT, `logged` datetime NOT NULL, `views` int(11) NOT NULL DEFAULT '0', `user` int(11) NOT NULL, `score` float NOT NULL DEFAULT '0', `votes` int(11) NOT NULL DEFAULT '0', `keyword` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `tags` text COLLATE utf8_unicode_ci NOT NULL, `image` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `thumb` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `hash` char(32) COLLATE utf8_unicode_ci NOT NULL, `source` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `fame` int(11) NOT NULL, `comment` int(11) NOT NULL, PRIMARY KEY (`id`), KEY `keyword` (`keyword`), FULLTEXT KEY `tags` (`tags`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; # Export von Tabelle pl_invites # ------------------------------------------------------------ DROP TABLE IF EXISTS `pl_invites`; CREATE TABLE `pl_invites` ( `id` int(11) NOT NULL AUTO_INCREMENT, `owner` int(11) NOT NULL, `code` text CHARACTER SET utf8 NOT NULL, `used` int(11) NOT NULL, `usedby` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; # Export von Tabelle pl_iplock # ------------------------------------------------------------ DROP TABLE IF EXISTS `pl_iplock`; CREATE TABLE `pl_iplock` ( `ip` int(11) NOT NULL, `imageId` int(11) NOT NULL, `ts` int(11) NOT NULL, PRIMARY KEY (`ip`,`imageId`), KEY `ts` (`ts`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; # Export von Tabelle pl_messages # ------------------------------------------------------------ DROP TABLE IF EXISTS `pl_messages`; CREATE TABLE `pl_messages` ( `from_m` int(11) NOT NULL, `to_m` int(11) NOT NULL, `title_m` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL, `message_m` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL, `read_m` int(11) NOT NULL, `created` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=cp1251; # Export von Tabelle pl_registerlock # ------------------------------------------------------------ DROP TABLE IF EXISTS `pl_registerlock`; CREATE TABLE `pl_registerlock` ( `ip` text NOT NULL, `created` datetime NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; # Export von Tabelle pl_settings # ------------------------------------------------------------ DROP TABLE IF EXISTS `pl_settings`; CREATE TABLE `pl_settings` ( `register` int(11) NOT NULL, `upload` int(11) NOT NULL, `message` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; LOCK TABLES `pl_settings` WRITE; /*!40000 ALTER TABLE `pl_settings` DISABLE KEYS */; INSERT INTO `pl_settings` (`register`, `upload`, `message`) VALUES (1,1,'Dolan: \"Viel Spaß mit dem Script!\"'); /*!40000 ALTER TABLE `pl_settings` ENABLE KEYS */; UNLOCK TABLES; # Export von Tabelle pl_taglog # ------------------------------------------------------------ DROP TABLE IF EXISTS `pl_taglog`; CREATE TABLE `pl_taglog` ( `id` int(11) NOT NULL AUTO_INCREMENT, `tagged` datetime NOT NULL, `userId` int(11) NOT NULL, `imageId` int(11) NOT NULL, `locked` tinyint(4) NOT NULL, PRIMARY KEY (`id`), KEY `tagged` (`tagged`), KEY `userId` (`userId`), KEY `imageId` (`imageId`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; # Export von Tabelle pl_unread # ------------------------------------------------------------ DROP TABLE IF EXISTS `pl_unread`; CREATE TABLE `pl_unread` ( `imageid` int(11) NOT NULL, `userid` int(11) NOT NULL, `keyword` text NOT NULL, `createdby` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=cp1251; # Export von Tabelle pl_uploadlock # ------------------------------------------------------------ DROP TABLE IF EXISTS `pl_uploadlock`; CREATE TABLE `pl_uploadlock` ( `id` int(11) NOT NULL AUTO_INCREMENT, `ip` text COLLATE utf8_unicode_ci NOT NULL, `ts` int(11) NOT NULL, `user` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; # Export von Tabelle pl_users # ------------------------------------------------------------ DROP TABLE IF EXISTS `pl_users`; CREATE TABLE `pl_users` ( `id` int(11) NOT NULL AUTO_INCREMENT, `registered` datetime NOT NULL, `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `pass` char(32) COLLATE utf8_unicode_ci NOT NULL, `valid` tinyint(4) NOT NULL, `remember` char(32) COLLATE utf8_unicode_ci NOT NULL, `admin` tinyint(4) NOT NULL DEFAULT '0', `score` int(11) NOT NULL, `images` int(11) NOT NULL DEFAULT '0', `avatar` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `website` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `color` text COLLATE utf8_unicode_ci NOT NULL, `style` text COLLATE utf8_unicode_ci NOT NULL, `spamblocked` int(11) NOT NULL, `time` int(11) NOT NULL, `spam_reason` text COLLATE utf8_unicode_ci NOT NULL, `invite` text COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_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 */;