| @@ -1,23 +1,8 @@ | |||||
| /*Table structure for table `gwaccounts` */ | |||||
| CREATE TABLE `gwaccounts` ( | CREATE TABLE `gwaccounts` ( | ||||
| `accid` int(11) NOT NULL AUTO_INCREMENT COMMENT 'this key will be bound by charrid in table gwchars', | |||||
| `accid` int(11) NOT NULL AUTO_INCREMENT COMMENT 'this key will be bound by charid in table gwchars', | |||||
| `userid` int(11) DEFAULT NULL, | `userid` int(11) DEFAULT NULL, | ||||
| `accemail` varchar(50) DEFAULT NULL, | `accemail` varchar(50) DEFAULT NULL, | ||||
| PRIMARY KEY (`accid`) | PRIMARY KEY (`accid`) | ||||
| ) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=latin1; | |||||
| /*Table structure for table `gwaccstats` */ | |||||
| CREATE TABLE `gwaccstats` ( | |||||
| `titlenameid` int(11) DEFAULT NULL, | |||||
| `stnameid` int(2) DEFAULT NULL, | |||||
| `titlepoints` int(11) DEFAULT NULL, | |||||
| `currentstrankname` varchar(37) DEFAULT NULL, | |||||
| `currentstrank` int(11) DEFAULT NULL, | |||||
| `percent` int(3) DEFAULT NULL, | |||||
| `accid` int(11) DEFAULT NULL, | |||||
| `userid` int(11) DEFAULT NULL | |||||
| ) ENGINE=InnoDB DEFAULT CHARSET=latin1; | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; | ||||
| /*Table structure for table `gwchars` */ | /*Table structure for table `gwchars` */ | ||||
| @@ -31,31 +16,32 @@ CREATE TABLE `gwchars` ( | |||||
| `profid` int(2) DEFAULT NULL, | `profid` int(2) DEFAULT NULL, | ||||
| `profcolor` char(7) NOT NULL DEFAULT '#45b39d', | `profcolor` char(7) NOT NULL DEFAULT '#45b39d', | ||||
| PRIMARY KEY (`charid`) | PRIMARY KEY (`charid`) | ||||
| ) ENGINE=InnoDB AUTO_INCREMENT=74 DEFAULT CHARSET=latin1; | |||||
| ) ENGINE=InnoDB DEFAULT CHARSET=latin1; | |||||
| /*Table structure for table `gwprofessions` */ | |||||
| CREATE TABLE `gwprofessions` ( | |||||
| `profid` int(2) NOT NULL AUTO_INCREMENT, | |||||
| `profession` varchar(12) DEFAULT NULL, | |||||
| `profcolor` char(4) DEFAULT NULL, | |||||
| PRIMARY KEY (`profid`) | |||||
| ) ENGINE=InnoDB DEFAULT CHARSET=latin1; | |||||
| /*Table structure for table `gwcharstats` */ | |||||
| /*Table structure for table `gwstats` */ | |||||
| CREATE TABLE `gwcharstats` ( | |||||
| CREATE TABLE `gwstats` ( | |||||
| `titlenameid` int(11) DEFAULT NULL, | `titlenameid` int(11) DEFAULT NULL, | ||||
| `stnameid` int(2) DEFAULT NULL, | `stnameid` int(2) DEFAULT NULL, | ||||
| `titlepoinsts` int(11) DEFAULT NULL, | |||||
| `titlepoints` int(11) DEFAULT NULL, | |||||
| `currentstrankname` varchar(37) DEFAULT NULL, | `currentstrankname` varchar(37) DEFAULT NULL, | ||||
| `currentstrank` int(11) DEFAULT NULL, | `currentstrank` int(11) DEFAULT NULL, | ||||
| `percent` int(3) DEFAULT NULL, | `percent` int(3) DEFAULT NULL, | ||||
| `charid` int(11) DEFAULT NULL, | |||||
| `gwamm` int(1) NOT NULL DEFAULT '0', | |||||
| `charid` int(11) NOT NULL DEFAULT '0', | |||||
| `accid` int(11) DEFAULT NULL, | `accid` int(11) DEFAULT NULL, | ||||
| `userid` int(11) DEFAULT NULL | `userid` int(11) DEFAULT NULL | ||||
| ) ENGINE=InnoDB DEFAULT CHARSET=latin1; | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; | ||||
| /*Table structure for table `gwprofessions` */ | |||||
| CREATE TABLE `gwprofessions` ( | |||||
| `profid` int(2) NOT NULL AUTO_INCREMENT, | |||||
| `profession` varchar(12) DEFAULT NULL, | |||||
| `profcolor` char(4) DEFAULT NULL, | |||||
| PRIMARY KEY (`profid`) | |||||
| ) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=latin1; | |||||
| /*Table structure for table `gwsubtitles` */ | /*Table structure for table `gwsubtitles` */ | ||||
| CREATE TABLE `gwsubtitles` ( | CREATE TABLE `gwsubtitles` ( | ||||
| @@ -65,7 +51,7 @@ CREATE TABLE `gwsubtitles` ( | |||||
| `stpoints` int(11) DEFAULT NULL, | `stpoints` int(11) DEFAULT NULL, | ||||
| `strank` int(11) DEFAULT NULL, | `strank` int(11) DEFAULT NULL, | ||||
| PRIMARY KEY (`stnameid`) | PRIMARY KEY (`stnameid`) | ||||
| ) ENGINE=InnoDB AUTO_INCREMENT=304 DEFAULT CHARSET=latin1; | |||||
| ) ENGINE=InnoDB DEFAULT CHARSET=latin1; | |||||
| /*Table structure for table `gwtitles` */ | /*Table structure for table `gwtitles` */ | ||||
| @@ -74,8 +60,10 @@ CREATE TABLE `gwtitles` ( | |||||
| `titlename` varchar(40) DEFAULT NULL, | `titlename` varchar(40) DEFAULT NULL, | ||||
| `titletype` int(1) DEFAULT NULL COMMENT '0 = account, 1 = character', | `titletype` int(1) DEFAULT NULL COMMENT '0 = account, 1 = character', | ||||
| `titlemaxrank` int(2) DEFAULT NULL, | `titlemaxrank` int(2) DEFAULT NULL, | ||||
| `autofilled` int(1) NOT NULL DEFAULT '0' COMMENT '0 = no, 1 = yes', | |||||
| `gwamm` int(1) NOT NULL DEFAULT '0' COMMENT '0 = no, 1 = yes', | |||||
| PRIMARY KEY (`titlenameid`) | PRIMARY KEY (`titlenameid`) | ||||
| ) ENGINE=InnoDB AUTO_INCREMENT=55 DEFAULT CHARSET=latin1; | |||||
| ) ENGINE=InnoDB DEFAULT CHARSET=latin1; | |||||
| /*Table structure for table `userinfo` */ | /*Table structure for table `userinfo` */ | ||||
| @@ -90,4 +78,4 @@ CREATE TABLE `userinfo` ( | |||||
| `prefcharid` int(11) NOT NULL DEFAULT '0' COMMENT 'sets which GW character you want to default to', | `prefcharid` int(11) NOT NULL DEFAULT '0' COMMENT 'sets which GW character you want to default to', | ||||
| `prefcharname` char(19) DEFAULT 'No default selected', | `prefcharname` char(19) DEFAULT 'No default selected', | ||||
| PRIMARY KEY (`userid`) | PRIMARY KEY (`userid`) | ||||
| ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=latin1; | |||||
| ) ENGINE=InnoDB DEFAULT CHARSET=latin1; | |||||