The easy to use and full featured Irc Bot everyone is talking about!
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. -- phpMyAdmin SQL Dump
  2. -- version 4.0.0
  3. -- http://www.phpmyadmin.net
  4. --
  5. -- Host: localhost
  6. -- Generation Time: Apr 26, 2015 at 10:14 PM
  7. -- Server version: 5.6.11-log
  8. -- PHP Version: 5.4.15
  9. SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  10. SET time_zone = "+00:00";
  11. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  12. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  13. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  14. /*!40101 SET NAMES utf8 */;
  15. --
  16. -- Database: `combot`
  17. --
  18. -- --------------------------------------------------------
  19. --
  20. -- Table structure for table `channeljoins`
  21. --
  22. CREATE TABLE IF NOT EXISTS `channeljoins` (
  23. `id` int(11) NOT NULL AUTO_INCREMENT,
  24. `server_id` int(11) NOT NULL,
  25. `channel_id` int(11) NOT NULL,
  26. `nick_id` int(11) NOT NULL,
  27. `date_added` datetime NOT NULL,
  28. PRIMARY KEY (`id`)
  29. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  30. -- --------------------------------------------------------
  31. --
  32. -- Table structure for table `channelkicks`
  33. --
  34. CREATE TABLE IF NOT EXISTS `channelkicks` (
  35. `id` int(11) NOT NULL AUTO_INCREMENT,
  36. `server_id` int(11) NOT NULL,
  37. `channel_id` int(11) NOT NULL,
  38. `nick_id` int(11) NOT NULL,
  39. `kicked_nick_id` int(11) NOT NULL,
  40. `reason` varchar(500) CHARACTER SET utf8mb4 NOT NULL,
  41. `date_added` datetime NOT NULL,
  42. PRIMARY KEY (`id`)
  43. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  44. -- --------------------------------------------------------
  45. --
  46. -- Table structure for table `channelmessages`
  47. --
  48. CREATE TABLE IF NOT EXISTS `channelmessages` (
  49. `id` int(11) NOT NULL AUTO_INCREMENT,
  50. `server_id` int(11) NOT NULL,
  51. `channel_id` int(11) NOT NULL,
  52. `nick_id` int(11) NOT NULL,
  53. `message` text NOT NULL,
  54. `date_added` datetime NOT NULL,
  55. PRIMARY KEY (`id`)
  56. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  57. -- --------------------------------------------------------
  58. --
  59. -- Table structure for table `channelparts`
  60. --
  61. CREATE TABLE IF NOT EXISTS `channelparts` (
  62. `id` int(11) NOT NULL AUTO_INCREMENT,
  63. `server_id` int(11) NOT NULL,
  64. `channel_id` int(11) NOT NULL,
  65. `nick_id` int(11) NOT NULL,
  66. `date_added` datetime NOT NULL,
  67. PRIMARY KEY (`id`)
  68. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  69. -- --------------------------------------------------------
  70. --
  71. -- Table structure for table `channelrules`
  72. --
  73. CREATE TABLE IF NOT EXISTS `channelrules` (
  74. `id` int(11) NOT NULL AUTO_INCREMENT,
  75. `server_id` int(11) NOT NULL,
  76. `channel_id` int(11) NOT NULL,
  77. `rule` text CHARACTER SET utf8mb4 NOT NULL,
  78. `date_added` datetime NOT NULL,
  79. PRIMARY KEY (`id`)
  80. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  81. -- --------------------------------------------------------
  82. --
  83. -- Table structure for table `channels`
  84. --
  85. CREATE TABLE IF NOT EXISTS `channels` (
  86. `id` int(11) NOT NULL AUTO_INCREMENT,
  87. `server_id` int(11) NOT NULL,
  88. `Name` varchar(50) CHARACTER SET utf8mb4 NOT NULL,
  89. PRIMARY KEY (`id`)
  90. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  91. -- --------------------------------------------------------
  92. --
  93. -- Table structure for table `introductions`
  94. --
  95. CREATE TABLE IF NOT EXISTS `introductions` (
  96. `id` int(11) NOT NULL AUTO_INCREMENT,
  97. `server_id` int(11) NOT NULL,
  98. `channel_id` int(11) NOT NULL,
  99. `nick_id` int(11) NOT NULL,
  100. `message` text CHARACTER SET utf8mb4 NOT NULL,
  101. `date_added` datetime NOT NULL,
  102. PRIMARY KEY (`id`)
  103. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  104. -- --------------------------------------------------------
  105. --
  106. -- Table structure for table `messages`
  107. --
  108. CREATE TABLE IF NOT EXISTS `messages` (
  109. `id` int(11) NOT NULL AUTO_INCREMENT,
  110. `server_id` int(11) NOT NULL,
  111. `nick_id` int(11) NOT NULL,
  112. `sender_nick_id` int(11) NOT NULL,
  113. `message` text NOT NULL,
  114. `anonymous` tinyint(1) NOT NULL,
  115. `date_posted` datetime NOT NULL,
  116. PRIMARY KEY (`id`)
  117. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  118. -- --------------------------------------------------------
  119. --
  120. -- Table structure for table `nickinfo`
  121. --
  122. CREATE TABLE IF NOT EXISTS `nickinfo` (
  123. `id` int(11) NOT NULL AUTO_INCREMENT,
  124. `nick_id` int(11) NOT NULL,
  125. `username` varchar(50) DEFAULT NULL,
  126. `realname` varchar(50) DEFAULT NULL,
  127. `host` varchar(100) DEFAULT NULL,
  128. `date_added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  129. PRIMARY KEY (`id`)
  130. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  131. -- --------------------------------------------------------
  132. --
  133. -- Table structure for table `nicks`
  134. --
  135. CREATE TABLE IF NOT EXISTS `nicks` (
  136. `id` int(11) NOT NULL AUTO_INCREMENT,
  137. `server_id` int(11) NOT NULL,
  138. `nickname` varchar(50) CHARACTER SET utf8mb4 NOT NULL,
  139. PRIMARY KEY (`id`)
  140. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  141. -- --------------------------------------------------------
  142. --
  143. -- Table structure for table `privatemessages`
  144. --
  145. CREATE TABLE IF NOT EXISTS `privatemessages` (
  146. `id` int(11) NOT NULL AUTO_INCREMENT,
  147. `server_id` int(11) NOT NULL,
  148. `nick_id` int(11) NOT NULL,
  149. `message` text CHARACTER SET utf8mb4 NOT NULL,
  150. `date_added` datetime NOT NULL,
  151. PRIMARY KEY (`id`)
  152. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  153. -- --------------------------------------------------------
  154. --
  155. -- Table structure for table `quits`
  156. --
  157. CREATE TABLE IF NOT EXISTS `quits` (
  158. `id` int(11) NOT NULL AUTO_INCREMENT,
  159. `server_id` int(11) NOT NULL,
  160. `nick_id` int(11) NOT NULL,
  161. `message` varchar(500) CHARACTER SET utf8mb4 NOT NULL,
  162. `date_added` datetime NOT NULL,
  163. PRIMARY KEY (`id`)
  164. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  165. -- --------------------------------------------------------
  166. --
  167. -- Table structure for table `servers`
  168. --
  169. CREATE TABLE IF NOT EXISTS `servers` (
  170. `id` int(11) NOT NULL AUTO_INCREMENT,
  171. `Name` varchar(50) CHARACTER SET utf8mb4 NOT NULL,
  172. PRIMARY KEY (`id`)
  173. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  174. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  175. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  176. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;