SQL Files for new inventory.

This commit is contained in:
Filip Maj 2018-04-07 14:30:17 -04:00
parent 29e3f61b6b
commit 8aeaee1b19
6 changed files with 111 additions and 71 deletions

View file

@ -4,7 +4,7 @@ Source Host: localhost
Source Database: ffxiv_server
Target Host: localhost
Target Database: ffxiv_server
Date: 9/9/2017 2:31:15 PM
Date: 12/17/2017 3:37:39 PM
*/
SET FOREIGN_KEY_CHECKS=0;
@ -12,10 +12,12 @@ SET FOREIGN_KEY_CHECKS=0;
-- Table structure for characters_inventory
-- ----------------------------
CREATE TABLE `characters_inventory` (
`id` int(10) unsigned zerofill NOT NULL AUTO_INCREMENT,
`characterId` int(10) unsigned NOT NULL,
`inventoryType` smallint(5) unsigned NOT NULL DEFAULT '0',
`serverItemId` int(10) unsigned NOT NULL,
`quantity` int(10) unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`id`,`characterId`)
) ENGINE=InnoDB AUTO_INCREMENT=325 DEFAULT CHARSET=utf8;
`itemPackage` smallint(5) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`characterId`,`serverItemId`,`itemPackage`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records
-- ----------------------------