mirror of
https://github.com/HerculesWS/Hercules
synced 2026-08-15 12:23:13 -04:00
Indexed storage_id column from storage sql table
This commit is contained in:
parent
327e69c8d6
commit
5559ff08f6
2 changed files with 4 additions and 2 deletions
|
|
@ -1002,7 +1002,8 @@ CREATE TABLE IF NOT EXISTS `storage` (
|
|||
`bound` TINYINT UNSIGNED NOT NULL DEFAULT '0',
|
||||
`unique_id` BIGINT UNSIGNED NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `account_id` (`account_id`)
|
||||
KEY `account_id` (`account_id`),
|
||||
KEY `storage_id` (`storage_id`)
|
||||
) ENGINE=MyISAM;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `rodex_items` (
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@
|
|||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
ALTER TABLE `storage` ADD `storage_id` INT UNSIGNED NOT NULL DEFAULT '1' AFTER `account_id`;
|
||||
ALTER TABLE `storage` ADD `storage_id` INT UNSIGNED NOT NULL DEFAULT '1' AFTER `account_id`,
|
||||
ADD INDEX `storage_id` (`storage_id`);
|
||||
|
||||
INSERT INTO `sql_updates` (`timestamp`) VALUES (1730631632);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue