mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-01 01:54:22 +00:00
chore: index to speed up searching for empty square (new registration)
This commit is contained in:
@@ -1617,7 +1617,8 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%wdata` (
|
||||
`y` int(11) NULL,
|
||||
`occupied` tinyint(1) NULL,
|
||||
`image` varchar(3) NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `occupied` (`occupied`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
|
||||
|
||||
--
|
||||
|
||||
Reference in New Issue
Block a user