Advertisement
Guest User

tables.sql

a guest
Mar 3rd, 2011
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. CREATE TABLE `lbmain` (
  2. `id` int(11) NOT NULL AUTO_INCREMENT,
  3. `date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  4. `player` varchar(32) NOT NULL DEFAULT '-',
  5. `replaced` int(11) NOT NULL DEFAULT '0',
  6. `type` int(11) NOT NULL DEFAULT '0',
  7. `data` TINYINT NOT NULL DEFAULT '0',
  8. `x` int(11) NOT NULL DEFAULT '0',
  9. `y` int(11) NOT NULL DEFAULT '0',
  10. `z` int(11) NOT NULL DEFAULT '0',
  11. PRIMARY KEY (`id`),
  12. KEY `coords` (`y`,`x`,`z`),
  13. KEY `type` (`type`),
  14. KEY `data` (`data`),
  15. KEY `replaced` (`replaced`),
  16. KEY `player` (`player`)
  17. );
  18.  
  19. CREATE TABLE `lbmain-extra` (
  20. `id` int(11) NOT NULL,
  21. `extra` text,
  22. PRIMARY KEY (`id`)
  23. );
  24.  
  25. CREATE TABLE `nlbmain` ( `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', `data` TINYINT 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 `data` (`data`), KEY `replaced` (`replaced`), KEY `player` (`player`) ); CREATE TABLE `nlbmain-extra` ( `id` int(11) NOT NULL, `extra` text, PRIMARY KEY (`id`) );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement