v13: log signs and their contents, initial version of /rollback

This commit is contained in:
bootswithdefer
2010-12-13 15:19:38 -07:00
parent 582a3afd56
commit 9ec407f565
3 changed files with 126 additions and 19 deletions
+21
View File
@@ -0,0 +1,21 @@
CREATE TABLE `blocks` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`player` varchar(32) NOT NULL DEFAULT '-',
`replaced` int(11) NOT NULL DEFAULT '0',
`type` int(11) NOT NULL DEFAULT '0',
`x` int(11) NOT NULL DEFAULT '0',
`y` int(11) NOT NULL DEFAULT '0',
`z` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `coords` (`y`,`x`,`z`),
KEY `type` (`type`),
KEY `replaced` (`replaced`),
KEY `player` (`player`)
);
CREATE TABLE `extra` (
`id` int(11) NOT NULL,
`extra` text,
PRIMARY KEY (`id`)
);