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:34 PM
Date: 12/17/2017 3:38:35 PM
*/
SET FOREIGN_KEY_CHECKS=0;
@ -12,16 +12,16 @@ SET FOREIGN_KEY_CHECKS=0;
-- Table structure for server_items
-- ----------------------------
CREATE TABLE `server_items` (
`id` int(10) unsigned zerofill NOT NULL AUTO_INCREMENT,
`id` bigint(20) unsigned zerofill NOT NULL AUTO_INCREMENT,
`itemId` int(10) unsigned NOT NULL,
`quality` tinyint(3) unsigned NOT NULL DEFAULT '0',
`itemType` tinyint(6) unsigned NOT NULL DEFAULT '0',
`durability` int(11) NOT NULL DEFAULT '0',
`spiritbind` smallint(5) unsigned DEFAULT '0',
`materia1` tinyint(3) unsigned DEFAULT '0',
`materia2` tinyint(3) unsigned DEFAULT '0',
`materia3` tinyint(3) unsigned DEFAULT '0',
`materia4` tinyint(3) unsigned DEFAULT '0',
`materia5` tinyint(3) unsigned DEFAULT '0',
`quantity` int(10) unsigned DEFAULT '1',
`quality` tinyint(3) unsigned DEFAULT '1',
`isExclusive` tinyint(1) unsigned DEFAULT '0',
`isAttached` tinyint(1) unsigned DEFAULT '0',
`isDealing` tinyint(1) unsigned DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1435 DEFAULT CHARSET=utf8;
) ENGINE=InnoDB AUTO_INCREMENT=2659 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records
-- ----------------------------