mysql_dump 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. -- MySQL dump 10.14 Distrib 5.5.37-MariaDB, for debian-linux-gnu (x86_64)
  2. --
  3. -- Host: localhost Database: pybot
  4. -- ------------------------------------------------------
  5. -- Server version 5.5.37-MariaDB-0ubuntu0.14.04.1
  6. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  7. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  8. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  9. /*!40101 SET NAMES utf8 */;
  10. /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
  11. /*!40103 SET TIME_ZONE='+00:00' */;
  12. /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
  13. /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
  14. /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
  15. /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
  16. --
  17. -- Table structure for table `admins`
  18. --
  19. DROP TABLE IF EXISTS `admins`;
  20. /*!40101 SET @saved_cs_client = @@character_set_client */;
  21. /*!40101 SET character_set_client = utf8 */;
  22. CREATE TABLE `admins` (
  23. `id` int(11) NOT NULL AUTO_INCREMENT,
  24. `username` varchar(32) DEFAULT NULL,
  25. PRIMARY KEY (`id`)
  26. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  27. /*!40101 SET character_set_client = @saved_cs_client */;
  28. --
  29. -- Table structure for table `img`
  30. --
  31. DROP TABLE IF EXISTS `img`;
  32. /*!40101 SET @saved_cs_client = @@character_set_client */;
  33. /*!40101 SET character_set_client = utf8 */;
  34. CREATE TABLE `img` (
  35. `id` bigint(20) NOT NULL AUTO_INCREMENT,
  36. `url` varchar(256) DEFAULT NULL,
  37. `user` varchar(32) DEFAULT NULL,
  38. `time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  39. `channel` varchar(32) DEFAULT NULL,
  40. PRIMARY KEY (`id`)
  41. ) ENGINE=InnoDB AUTO_INCREMENT=4953 DEFAULT CHARSET=latin1;
  42. /*!40101 SET character_set_client = @saved_cs_client */;
  43. --
  44. -- Table structure for table `lastfm`
  45. --
  46. DROP TABLE IF EXISTS `lastfm`;
  47. /*!40101 SET @saved_cs_client = @@character_set_client */;
  48. /*!40101 SET character_set_client = utf8 */;
  49. CREATE TABLE `lastfm` (
  50. `lastfm_username` varchar(63) DEFAULT NULL,
  51. `nick` varchar(63) NOT NULL DEFAULT '',
  52. PRIMARY KEY (`nick`)
  53. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  54. /*!40101 SET character_set_client = @saved_cs_client */;
  55. --
  56. -- Table structure for table `qdb`
  57. --
  58. DROP TABLE IF EXISTS `qdb`;
  59. /*!40101 SET @saved_cs_client = @@character_set_client */;
  60. /*!40101 SET character_set_client = utf8 */;
  61. CREATE TABLE `qdb` (
  62. `id` int(11) NOT NULL AUTO_INCREMENT,
  63. `quote` text,
  64. `date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  65. PRIMARY KEY (`id`)
  66. ) ENGINE=MyISAM AUTO_INCREMENT=561 DEFAULT CHARSET=latin1;
  67. /*!40101 SET character_set_client = @saved_cs_client */;
  68. --
  69. -- Table structure for table `qdb_votes`
  70. --
  71. DROP TABLE IF EXISTS `qdb_votes`;
  72. /*!40101 SET @saved_cs_client = @@character_set_client */;
  73. /*!40101 SET character_set_client = utf8 */;
  74. CREATE TABLE `qdb_votes` (
  75. `vote_id` int(11) NOT NULL AUTO_INCREMENT,
  76. `quote_id` int(11) NOT NULL,
  77. `votes` int(11) DEFAULT '0',
  78. PRIMARY KEY (`vote_id`)
  79. ) ENGINE=InnoDB AUTO_INCREMENT=196 DEFAULT CHARSET=latin1;
  80. /*!40101 SET character_set_client = @saved_cs_client */;
  81. --
  82. -- Table structure for table `seen`
  83. --
  84. DROP TABLE IF EXISTS `seen`;
  85. /*!40101 SET @saved_cs_client = @@character_set_client */;
  86. /*!40101 SET character_set_client = utf8 */;
  87. CREATE TABLE `seen` (
  88. `user_name` varchar(30) NOT NULL DEFAULT '',
  89. `date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  90. `statement` varchar(60) DEFAULT NULL,
  91. `event` text,
  92. PRIMARY KEY (`user_name`)
  93. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  94. /*!40101 SET character_set_client = @saved_cs_client */;
  95. /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
  96. /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
  97. /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
  98. /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
  99. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  100. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  101. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
  102. /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
  103. -- Dump completed on 2014-09-09 17:38:21