aboutsummaryrefslogtreecommitdiff
path: root/sql/updates/characters
diff options
context:
space:
mode:
authorNay <dnpd.dd@gmail.com>2012-07-30 16:39:46 +0100
committerNay <dnpd.dd@gmail.com>2012-07-30 16:39:46 +0100
commitc24de2c6d8883a9c4541003c259196c830de2add (patch)
tree677ee37797e9cbbef028c210e06ad802cef95f83 /sql/updates/characters
parent195e0369cff80fb89afb267ce479bdd2e9a4e31b (diff)
Core: Implement Void Storage
Diffstat (limited to 'sql/updates/characters')
-rw-r--r--sql/updates/characters/2012_07_30_00_characters_void_storage_434.sql11
1 files changed, 11 insertions, 0 deletions
diff --git a/sql/updates/characters/2012_07_30_00_characters_void_storage_434.sql b/sql/updates/characters/2012_07_30_00_characters_void_storage_434.sql
new file mode 100644
index 00000000000..e8a47c5f91c
--- /dev/null
+++ b/sql/updates/characters/2012_07_30_00_characters_void_storage_434.sql
@@ -0,0 +1,11 @@
+DROP TABLE IF EXISTS `void_storage`;
+CREATE TABLE IF NOT EXISTS `void_storage` (
+ `itemId` bigint(20) unsigned NOT NULL,
+ `playerGuid` int(10) unsigned NOT NULL,
+ `itemEntry` mediumint(8) unsigned NOT NULL,
+ `slot` tinyint(3) unsigned NOT NULL,
+ `creatorGuid` int(10) unsigned NOT NULL DEFAULT '0',
+ PRIMARY KEY (`itemId`),
+ UNIQUE KEY `idx_player_slot` (`playerGuid`,`slot`),
+ KEY `idx_player` (`playerGuid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;