X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=database.sql;h=14102125e458b9748da6726a3975f22e24aee235;hb=95b073d5242d1bf995d84e3511dbc43328ebff75;hp=4b1bb19685bb1d82b11b8899b7a226ca72360290;hpb=de4e38ad80dc9365a31e0226635e3cdf26b21577;p=NeonServV5.git diff --git a/database.sql b/database.sql index 4b1bb19..1410212 100644 --- a/database.sql +++ b/database.sql @@ -52,13 +52,15 @@ CREATE TABLE IF NOT EXISTS `bots` ( CREATE TABLE IF NOT EXISTS `bot_binds` ( `id` int(11) NOT NULL AUTO_INCREMENT, `botclass` int(11) NOT NULL, + `botid` int(11) NOT NULL, `command` varchar(60) NOT NULL, `function` varchar(60) NOT NULL, `parameters` varchar(100) NOT NULL, `chan_access` varchar(256) DEFAULT NULL, `global_access` int(3) DEFAULT NULL, - `flags` tinyint(4) NOT NULL, - PRIMARY KEY (`id`) + `flags` int(10) NOT NULL, + PRIMARY KEY (`id`), + KEY `botid` (`botid`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- @@ -71,7 +73,7 @@ CREATE TABLE IF NOT EXISTS `bot_channels` ( `id` int(11) NOT NULL AUTO_INCREMENT, `botid` int(11) NOT NULL, `chanid` int(11) NOT NULL, - `trigger` varchar(50) NOT NULL DEFAULT '+', + `trigger` varchar(50) NULL DEFAULT '+', `suspended` tinyint(1) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1;