added cmd_info & cmd_debug
[NeonServV5.git] / database.sql
index 94b3d757a21afd2dcd293cf3346574afb40f7180..4c82678b76dce04eb48a2be3be1dfeee6ca5685b 100644 (file)
@@ -269,10 +269,12 @@ CREATE TABLE IF NOT EXISTS `noinvite` (
 -- Tabellenstruktur für Tabelle `owner_history`
 --
 
+
 CREATE TABLE IF NOT EXISTS `owner_history` (
   `owner_history_id` int(11) NOT NULL AUTO_INCREMENT,
   `owner_history_cid` int(11) NOT NULL,
-  `owner_history_uid` int(11) NOT NULL,
+  `owner_history_to_uid` int(11) NOT NULL,
+  `owner_history_from_uid` int(11) NOT NULL,
   `owner_history_time` int(11) NOT NULL,
   PRIMARY KEY (`owner_history_id`),
   KEY `owner_history_cid` (`owner_history_cid`)
@@ -288,6 +290,7 @@ CREATE TABLE IF NOT EXISTS `users` (
   `user_id` int(11) NOT NULL AUTO_INCREMENT,
   `user_user` varchar(250) NOT NULL,
   `user_access` int(4) NOT NULL,
+  `user_rank` int(11) NOT NULL,
   `user_god` tinyint(1) NOT NULL,
   `user_lang` varchar(6) NOT NULL,
   `user_reply_privmsg` tinyint(1) NOT NULL,
@@ -297,6 +300,20 @@ CREATE TABLE IF NOT EXISTS `users` (
 
 -- --------------------------------------------------------
 
+--
+-- Tabellenstruktur für Tabelle `support_ranks`
+--
+
+CREATE TABLE `support_ranks` (
+`rank_id` INT( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
+`rank_name` VARCHAR( 256 ) NOT NULL ,
+`rank_access` INT( 4 ) NOT NULL ,
+`rank_info` VARCHAR( 512 ) NOT NULL ,
+`rank_order` SMALLINT( 4 ) NOT NULL
+) ENGINE = MYISAM ;
+
+-- --------------------------------------------------------
+
 --
 -- Tabellenstruktur für Tabelle `version`
 --