Removed pre-1.0.2 update scripts

This commit is contained in:
Timo Smit 2016-08-07 19:10:47 +02:00
parent c9c971bc30
commit 32bf814562
2 changed files with 0 additions and 23 deletions

View file

@ -1,21 +0,0 @@
CREATE TABLE `maps` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(128) NOT NULL,
`lastplayed` int(10) unsigned NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=latin1;
CREATE TABLE `records` (
`mapid` int(10) unsigned NOT NULL,
`type` tinyint(3) unsigned NOT NULL,
`date` int(10) unsigned NOT NULL,
`record` smallint(5) unsigned NOT NULL,
`player` int(10) unsigned NOT NULL,
PRIMARY KEY (`mapid`,`type`),
KEY `ksplayer_idx` (`player`),
CONSTRAINT `kspreeplayer` FOREIGN KEY (`player`) REFERENCES `players` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
CONSTRAINT `spreemap` FOREIGN KEY (`mapid`) REFERENCES `maps` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
INSERT INTO `wolfadmin`.`players` (`id`, `guid`, `ip`) VALUES (1, 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX', '127.0.0.1');
INSERT INTO `wolfadmin`.`aliases` (`id`, `player`, `alias`, `lastused`, `used`) VALUES (1, 1, 'console', 0, 0);

View file

@ -1,2 +0,0 @@
ALTER TABLE `wolfadmin`.`aliases`
ADD COLUMN `cleanalias` VARCHAR(128) NOT NULL AFTER `alias`;