aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorShauren <none@none>2010-09-21 21:55:16 +0200
committerShauren <none@none>2010-09-21 21:55:16 +0200
commitd8ddf38453cb988645244d0f10da10f1d1665c93 (patch)
treef15bd1a980aec13570fa0f49b1a148fb3702c36b /sql
parent5eb0fd80acfb0fe93b6e0e1af09d8129534120c2 (diff)
Core/Items: Implemented trading soulbound loot items
Core/DBLayer: Converted more more player-related queries into prepared statements Core/Items: Fixed loading of enchantments Closes issue #4130. --HG-- branch : trunk
Diffstat (limited to 'sql')
-rw-r--r--sql/base/characters_database.sql23
-rw-r--r--sql/updates/10030_characters_item_soulbound_trade_data.sql6
2 files changed, 29 insertions, 0 deletions
diff --git a/sql/base/characters_database.sql b/sql/base/characters_database.sql
index ede2e59e225..acccb19513a 100644
--- a/sql/base/characters_database.sql
+++ b/sql/base/characters_database.sql
@@ -1792,6 +1792,29 @@ LOCK TABLES `item_refund_instance` WRITE;
UNLOCK TABLES;
--
+-- Table structure for table `item_soulbound_trade_data`
+--
+
+DROP TABLE IF EXISTS `item_soulbound_trade_data`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `item_soulbound_trade_data` (
+ `itemGuid` int(11) unsigned NOT NULL COMMENT 'Item GUID',
+ `allowedPlayers` text NOT NULL COMMENT 'Space separated GUID list of players who can receive this item in trade',
+ PRIMARY KEY (`itemGuid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Item Refund System';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `item_soulbound_trade_data`
+--
+
+LOCK TABLES `item_soulbound_trade_data` WRITE;
+/*!40000 ALTER TABLE `item_soulbound_trade_data` DISABLE KEYS */;
+/*!40000 ALTER TABLE `item_soulbound_trade_data` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
-- Table structure for table `lag_reports`
--
diff --git a/sql/updates/10030_characters_item_soulbound_trade_data.sql b/sql/updates/10030_characters_item_soulbound_trade_data.sql
new file mode 100644
index 00000000000..e6f43debb9b
--- /dev/null
+++ b/sql/updates/10030_characters_item_soulbound_trade_data.sql
@@ -0,0 +1,6 @@
+DROP TABLE IF EXISTS `item_soulbound_trade_data`;
+CREATE TABLE `item_soulbound_trade_data` (
+ `itemGuid` int(11) unsigned NOT NULL COMMENT 'Item GUID',
+ `allowedPlayers` text NOT NULL COMMENT 'Space separated GUID list of players who can receive this item in trade',
+ PRIMARY KEY (`itemGuid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Item Refund System';