Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 12.77 KB | None | 0 0
  1.  
  2. -- If you need to create your db, uncomment the following lines.
  3. --
  4. CREATE DATABASE anope;
  5. USE anope;
  6.  
  7. --
  8. -- Table structure for table 'anope_bs_core'
  9. --
  10.  
  11. DROP TABLE IF EXISTS anope_bs_core;
  12. CREATE TABLE anope_bs_core (
  13.   bs_id int(11) NOT NULL auto_increment,
  14.   nick varchar(255) NOT NULL default '',
  15.   `user` text NOT NULL,
  16.   host text NOT NULL,
  17.   rname text NOT NULL,
  18.   flags int(11) NOT NULL default '0',
  19.   created int(11) NOT NULL default '0',
  20.   chancount int(11) NOT NULL default '0',
  21.   active int(1) NOT NULL default '1',
  22.   PRIMARY KEY  (bs_id),
  23.   UNIQUE KEY nick (nick)
  24. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  25.  
  26. -- --------------------------------------------------------
  27.  
  28. --
  29. -- Table structure for table 'anope_cs_access'
  30. --
  31.  
  32. DROP TABLE IF EXISTS anope_cs_access;
  33. CREATE TABLE anope_cs_access (
  34.   ca_id int(11) NOT NULL auto_increment,
  35.   in_use int(11) NOT NULL default '0',
  36.   `level` int(11) NOT NULL default '0',
  37.   display varchar(255) NOT NULL default '',
  38.   channel varchar(255) NOT NULL default '',
  39.   last_seen int(11) NOT NULL default '0',
  40.   active tinyint(1) NOT NULL default '1',
  41.   PRIMARY KEY  (ca_id),
  42.   UNIQUE KEY channel (channel,display)
  43. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  44.  
  45. -- --------------------------------------------------------
  46.  
  47. --
  48. -- Table structure for table 'anope_cs_akicks'
  49. --
  50.  
  51. DROP TABLE IF EXISTS anope_cs_akicks;
  52. CREATE TABLE anope_cs_akicks (
  53.   ck_id int(11) NOT NULL auto_increment,
  54.   channel varchar(255) NOT NULL default '',
  55.   flags int(11) NOT NULL default '0',
  56.   dmask varchar(255) NOT NULL,
  57.   reason text NOT NULL,
  58.   creator text NOT NULL,
  59.   addtime int(11) NOT NULL default '0',
  60.   active tinyint(1) NOT NULL default '1',
  61.   PRIMARY KEY  (ck_id),
  62.   UNIQUE KEY channel (channel,dmask)
  63. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  64.  
  65. -- --------------------------------------------------------
  66.  
  67. --
  68. -- Table structure for table 'anope_cs_badwords'
  69. --
  70.  
  71. DROP TABLE IF EXISTS anope_cs_badwords;
  72. CREATE TABLE anope_cs_badwords (
  73.   cw_id int(11) NOT NULL auto_increment,
  74.   channel varchar(255) NOT NULL default '',
  75.   word varchar(255) NOT NULL,
  76.   `type` int(11) NOT NULL default '0',
  77.   active tinyint(1) NOT NULL default '1',
  78.   PRIMARY KEY  (cw_id),
  79.   UNIQUE KEY channel (channel,word)
  80. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  81.  
  82. -- --------------------------------------------------------
  83.  
  84. --
  85. -- Table structure for table 'anope_cs_info'
  86. --
  87.  
  88. DROP TABLE IF EXISTS anope_cs_info;
  89. CREATE TABLE anope_cs_info (
  90.   ci_id int(11) NOT NULL auto_increment,
  91.   `name` varchar(255) NOT NULL default '',
  92.   founder text NOT NULL,
  93.   successor text NOT NULL,
  94.   founderpass tinyblob NOT NULL,
  95.   descr text NOT NULL,
  96.   url text NOT NULL,
  97.   email text NOT NULL,
  98.   time_registered int(10) unsigned NOT NULL default '0',
  99.   last_used int(10) unsigned NOT NULL default '0',
  100.   last_topic text NOT NULL,
  101.   last_topic_setter text NOT NULL,
  102.   last_topic_time int(10) unsigned NOT NULL default '0',
  103.   flags int(10) unsigned NOT NULL default '0',
  104.   forbidby text NOT NULL,
  105.   forbidreason text NOT NULL,
  106.   bantype smallint(6) NOT NULL default '0',
  107.   accesscount smallint(6) NOT NULL default '0',
  108.   akickcount smallint(6) NOT NULL default '0',
  109.   mlock_on int(10) unsigned NOT NULL default '0',
  110.   mlock_off int(10) unsigned NOT NULL default '0',
  111.   mlock_limit int(10) unsigned NOT NULL default '0',
  112.   mlock_key text NOT NULL,
  113.   mlock_flood text NOT NULL,
  114.   mlock_redirect text NOT NULL,
  115.   entry_message text NOT NULL,
  116.   memomax smallint(5) unsigned NOT NULL default '0',
  117.   botnick varchar(255) NOT NULL default '',
  118.   botflags int(10) unsigned NOT NULL default '0',
  119.   bwcount smallint(6) NOT NULL default '0',
  120.   capsmin smallint(6) NOT NULL default '0',
  121.   capspercent smallint(6) NOT NULL default '0',
  122.   floodlines smallint(6) NOT NULL default '0',
  123.   floodsecs smallint(6) NOT NULL default '0',
  124.   repeattimes smallint(6) NOT NULL default '0',
  125.   active tinyint(1) NOT NULL default '1',
  126.   PRIMARY KEY  (ci_id),
  127.   UNIQUE KEY `name` (`name`)
  128. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  129.  
  130. -- --------------------------------------------------------
  131.  
  132. --
  133. -- Table structure for table 'anope_cs_levels'
  134. --
  135.  
  136. DROP TABLE IF EXISTS anope_cs_levels;
  137. CREATE TABLE anope_cs_levels (
  138.   cl_id int(11) NOT NULL auto_increment,
  139.   channel varchar(255) NOT NULL default '',
  140.   position int(11) NOT NULL default '0',
  141.   `level` int(11) NOT NULL default '0',
  142.   active tinyint(1) NOT NULL default '1',
  143.   PRIMARY KEY  (cl_id),
  144.   UNIQUE KEY channel (channel,position)
  145. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  146.  
  147. -- --------------------------------------------------------
  148.  
  149. --
  150. -- Table structure for table 'anope_cs_ttb'
  151. --
  152.  
  153. DROP TABLE IF EXISTS anope_cs_ttb;
  154. CREATE TABLE anope_cs_ttb (
  155.   ct_id int(11) NOT NULL auto_increment,
  156.   channel varchar(255) NOT NULL default '',
  157.   ttb_id int(11) NOT NULL default '0',
  158.   `value` int(11) NOT NULL default '0',
  159.   active tinyint(1) NOT NULL default '1',
  160.   PRIMARY KEY  (ct_id),
  161.   UNIQUE KEY channel (channel,ttb_id)
  162. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  163.  
  164. -- --------------------------------------------------------
  165.  
  166. --
  167. -- Table structure for table 'anope_hs_core'
  168. --
  169.  
  170. DROP TABLE IF EXISTS anope_hs_core;
  171. CREATE TABLE anope_hs_core (
  172.   bs_id int(11) NOT NULL auto_increment,
  173.   nick varchar(255) NOT NULL default '',
  174.   vident text NOT NULL,
  175.   vhost text NOT NULL,
  176.   creator text NOT NULL,
  177.   `time` int(11) NOT NULL default '0',
  178.   active tinyint(1) NOT NULL default '1',
  179.   PRIMARY KEY  (bs_id),
  180.   UNIQUE KEY nick (nick)
  181. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  182.  
  183. -- --------------------------------------------------------
  184.  
  185. --
  186. -- Table structure for table 'anope_info'
  187. --
  188.  
  189. DROP TABLE IF EXISTS anope_info;
  190. CREATE TABLE anope_info (
  191.   version int(11) default NULL,
  192.   `date` datetime default NULL
  193. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  194.  
  195. -- --------------------------------------------------------
  196.  
  197. --
  198. -- Table structure for table 'anope_ms_info'
  199. --
  200.  
  201. DROP TABLE IF EXISTS anope_ms_info;
  202. CREATE TABLE anope_ms_info (
  203.   nm_id int(11) NOT NULL auto_increment,
  204.   receiver varchar(255) NOT NULL,
  205.   number int(11) NOT NULL default '0',
  206.   flags int(11) NOT NULL default '0',
  207.   `time` int(11) NOT NULL default '0',
  208.   sender text NOT NULL,
  209.   `text` blob NOT NULL,
  210.   serv enum('NICK','CHAN') NOT NULL default 'NICK',
  211.   active tinyint(1) NOT NULL default '1',
  212.   PRIMARY KEY  (nm_id),
  213.   UNIQUE KEY nm_id (nm_id,serv),
  214.   KEY receiver (receiver,serv)
  215. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  216.  
  217. -- --------------------------------------------------------
  218.  
  219. --
  220. -- Table structure for table 'anope_ns_access'
  221. --
  222.  
  223. DROP TABLE IF EXISTS anope_ns_access;
  224. CREATE TABLE anope_ns_access (
  225.   na_id int(11) NOT NULL auto_increment,
  226.   display varchar(255) NOT NULL default '',
  227.   access text NOT NULL,
  228.   active tinyint(1) NOT NULL default '1',
  229.   PRIMARY KEY  (na_id)
  230. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  231.  
  232. -- --------------------------------------------------------
  233.  
  234. --
  235. -- Table structure for table 'anope_ns_alias'
  236. --
  237.  
  238. DROP TABLE IF EXISTS anope_ns_alias;
  239. CREATE TABLE anope_ns_alias (
  240.   na_id int(11) NOT NULL auto_increment,
  241.   display varchar(255) NOT NULL default '',
  242.   nick varchar(255) NOT NULL default '',
  243.   time_registered int(10) unsigned NOT NULL default '0',
  244.   last_seen int(10) unsigned NOT NULL default '0',
  245.   `status` int(11) unsigned NOT NULL default '0',
  246.   last_usermask text NOT NULL,
  247.   last_realname text NOT NULL,
  248.   last_quit text NOT NULL,
  249.   active tinyint(1) NOT NULL default '1',
  250.   PRIMARY KEY  (na_id),
  251.   UNIQUE KEY nick (nick)
  252. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  253.  
  254. -- --------------------------------------------------------
  255.  
  256. --
  257. -- Table structure for table 'anope_ns_core'
  258. --
  259.  
  260. DROP TABLE IF EXISTS anope_ns_core;
  261. CREATE TABLE anope_ns_core (
  262.   nc_id int(11) NOT NULL auto_increment,
  263.   display varchar(255) NOT NULL default '',
  264.   pass tinyblob NOT NULL,
  265.   email text NOT NULL,
  266.   icq int(10) unsigned NOT NULL default '0',
  267.   url text NOT NULL,
  268.   flags int(11) NOT NULL default '0',
  269.   `language` smallint(5) unsigned NOT NULL default '0',
  270.   accesscount smallint(6) NOT NULL default '0',
  271.   memocount smallint(5) unsigned NOT NULL default '0',
  272.   memomax smallint(5) unsigned NOT NULL default '0',
  273.   channelcount smallint(5) unsigned NOT NULL default '0',
  274.   channelmax smallint(5) unsigned NOT NULL default '0',
  275.   greet text NOT NULL,
  276.   active tinyint(1) NOT NULL default '1',
  277.   PRIMARY KEY  (nc_id),
  278.   UNIQUE KEY display (display)
  279. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  280.  
  281. -- --------------------------------------------------------
  282.  
  283. --
  284. -- Table structure for table 'anope_ns_request'
  285. --
  286.  
  287. DROP TABLE IF EXISTS anope_ns_request;
  288. CREATE TABLE anope_ns_request (
  289.   nr_id int(11) NOT NULL auto_increment,
  290.   nick varchar(255) NOT NULL default '',
  291.   passcode text NOT NULL,
  292.   `password` tinyblob NOT NULL,
  293.   email text NOT NULL,
  294.   requested int(11) NOT NULL default '0',
  295.   active tinyint(1) NOT NULL default '1',
  296.   PRIMARY KEY  (nr_id),
  297.   UNIQUE KEY nick (nick)
  298. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  299.  
  300. -- --------------------------------------------------------
  301.  
  302. --
  303. -- Table structure for table 'anope_os_akills'
  304. --
  305.  
  306. DROP TABLE IF EXISTS anope_os_akills;
  307. CREATE TABLE anope_os_akills (
  308.   ok_id int(11) NOT NULL auto_increment,
  309.   `user` varchar(255) NOT NULL,
  310.   host varchar(255) NOT NULL,
  311.   xby text NOT NULL,
  312.   reason text NOT NULL,
  313.   seton int(11) NOT NULL default '0',
  314.   expire int(11) NOT NULL default '0',
  315.   active tinyint(1) NOT NULL default '1',
  316.   PRIMARY KEY  (ok_id),
  317.   UNIQUE KEY `user` (`user`,host)
  318. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  319.  
  320. -- --------------------------------------------------------
  321.  
  322. --
  323. -- Table structure for table 'anope_os_core'
  324. --
  325.  
  326. DROP TABLE IF EXISTS anope_os_core;
  327. CREATE TABLE anope_os_core (
  328.   oc_id int(11) NOT NULL auto_increment,
  329.   maxusercnt int(11) NOT NULL default '0',
  330.   maxusertime int(11) NOT NULL default '0',
  331.   akills_count int(11) NOT NULL default '0',
  332.   sglines_count int(11) NOT NULL default '0',
  333.   sqlines_count int(11) NOT NULL default '0',
  334.   szlines_count int(11) NOT NULL default '0',
  335.   PRIMARY KEY  (oc_id)
  336. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  337.  
  338. -- --------------------------------------------------------
  339.  
  340. --
  341. -- Table structure for table 'anope_os_exceptions'
  342. --
  343.  
  344. DROP TABLE IF EXISTS anope_os_exceptions;
  345. CREATE TABLE anope_os_exceptions (
  346.   oe_id int(11) NOT NULL auto_increment,
  347.   mask varchar(255) NOT NULL,
  348.   lim int(11) NOT NULL default '0',
  349.   who text NOT NULL,
  350.   reason text NOT NULL,
  351.   `time` int(11) NOT NULL default '0',
  352.   expires int(11) NOT NULL default '0',
  353.   active tinyint(1) NOT NULL default '1',
  354.   PRIMARY KEY  (oe_id),
  355.   UNIQUE KEY mask (mask)
  356. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  357.  
  358. -- --------------------------------------------------------
  359.  
  360. --
  361. -- Table structure for table 'anope_os_news'
  362. --
  363.  
  364. DROP TABLE IF EXISTS anope_os_news;
  365. CREATE TABLE anope_os_news (
  366.   on_id int(11) NOT NULL auto_increment,
  367.   `type` int(11) NOT NULL default '0',
  368.   num int(11) NOT NULL default '0',
  369.   ntext text NOT NULL,
  370.   who text NOT NULL,
  371.   `time` int(11) NOT NULL default '0',
  372.   active tinyint(1) NOT NULL default '1',
  373.   PRIMARY KEY  (on_id),
  374.   UNIQUE KEY `type` (`type`,num,`time`)
  375. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  376.  
  377. -- --------------------------------------------------------
  378.  
  379. --
  380. -- Table structure for table 'anope_os_sglines'
  381. --
  382.  
  383. DROP TABLE IF EXISTS anope_os_sglines;
  384. CREATE TABLE anope_os_sglines (
  385.   og_id int(11) NOT NULL auto_increment,
  386.   mask varchar(255) NOT NULL,
  387.   xby text NOT NULL,
  388.   reason text NOT NULL,
  389.   seton int(11) NOT NULL default '0',
  390.   expire int(11) NOT NULL default '0',
  391.   active tinyint(1) NOT NULL default '1',
  392.   PRIMARY KEY  (og_id),
  393.   UNIQUE KEY mask (mask)
  394. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  395.  
  396. -- --------------------------------------------------------
  397.  
  398. --
  399. -- Table structure for table 'anope_os_sqlines'
  400. --
  401.  
  402. DROP TABLE IF EXISTS anope_os_sqlines;
  403. CREATE TABLE anope_os_sqlines (
  404.   og_id int(11) NOT NULL auto_increment,
  405.   mask varchar(255) NOT NULL,
  406.   xby text NOT NULL,
  407.   reason text NOT NULL,
  408.   seton int(11) NOT NULL default '0',
  409.   expire int(11) NOT NULL default '0',
  410.   active tinyint(1) NOT NULL default '1',
  411.   PRIMARY KEY  (og_id),
  412.   UNIQUE KEY mask (mask)
  413. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  414.  
  415. -- --------------------------------------------------------
  416.  
  417. --
  418. -- Table structure for table 'anope_os_szlines'
  419. --
  420.  
  421. DROP TABLE IF EXISTS anope_os_szlines;
  422. CREATE TABLE anope_os_szlines (
  423.   og_id int(11) NOT NULL auto_increment,
  424.   mask varchar(255) NOT NULL,
  425.   xby text NOT NULL,
  426.   reason text NOT NULL,
  427.   seton int(11) NOT NULL default '0',
  428.   expire int(11) NOT NULL default '0',
  429.   active tinyint(1) NOT NULL default '1',
  430.   PRIMARY KEY  (og_id),
  431.   UNIQUE KEY mask (mask)
  432. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement