From 316aa5ef7370d2149224be88b0ee93a4a58954b5 Mon Sep 17 00:00:00 2001 From: KimLS Date: Wed, 4 Mar 2015 19:35:10 -0800 Subject: [PATCH] Added current table to utils sql, though not formatted correctly yet since it's heavily wip --- utils/sql/git/required/inv2_wip.sql | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 utils/sql/git/required/inv2_wip.sql diff --git a/utils/sql/git/required/inv2_wip.sql b/utils/sql/git/required/inv2_wip.sql new file mode 100644 index 000000000..43879272d --- /dev/null +++ b/utils/sql/git/required/inv2_wip.sql @@ -0,0 +1,21 @@ +DROP TABLE IF EXISTS `character_inventory`; +CREATE TABLE `character_inventory` ( + `id` INT(10) UNSIGNED NOT NULL, + `type` SMALLINT(6) NOT NULL, + `slot` SMALLINT(6) NOT NULL, + `bag_index` SMALLINT(6) NOT NULL, + `aug_index` SMALLINT(6) NOT NULL, + `item_id` INT(10) UNSIGNED NOT NULL, + `charges` SMALLINT(6) NOT NULL, + `color` INT(10) UNSIGNED NOT NULL, + `attuned` TINYINT(3) UNSIGNED NOT NULL, + `custom_data` TEXT NOT NULL, + `ornament_icon` INT(10) UNSIGNED NOT NULL, + `ornament_idfile` INT(10) UNSIGNED NOT NULL, + `ornament_hero_model` INT(10) UNSIGNED NOT NULL, + `tracking_id` BIGINT(20) UNSIGNED NOT NULL, + PRIMARY KEY (`id`, `type`, `slot`, `bag_index`, `aug_index`), + INDEX `tracking_id` (`tracking_id`) +) +COLLATE='latin1_swedish_ci' +ENGINE=InnoDB;