diff options
| author | Shauren <shauren.trinity@gmail.com> | 2011-04-03 13:18:21 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2011-04-03 13:18:21 +0200 |
| commit | 9f5ca0bf29f3dd123045af8761800730701888f1 (patch) | |
| tree | 01f3e4ad3e3105e2d0d782d868928e3ba2009f15 /sql/updates | |
| parent | 2a8de65234413115ddeb45478bf5395edb02291f (diff) | |
Core/DBC: Implemented achievement_dbc db table for filling in missing achievements and added sample data
Diffstat (limited to 'sql/updates')
| -rw-r--r-- | sql/updates/world/2011_04_03_07_achievement_dbc.sql | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/sql/updates/world/2011_04_03_07_achievement_dbc.sql b/sql/updates/world/2011_04_03_07_achievement_dbc.sql new file mode 100644 index 00000000000..1f764a75458 --- /dev/null +++ b/sql/updates/world/2011_04_03_07_achievement_dbc.sql @@ -0,0 +1,31 @@ +-- +-- Table structure for table `achievement_dbc` +-- + +DROP TABLE IF EXISTS `achievement_dbc`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `achievement_dbc` ( + `ID` int(10) unsigned NOT NULL, + `requiredFaction` int(11) NOT NULL DEFAULT '-1', + `mapID` int(11) NOT NULL DEFAULT '-1', + `points` int(10) unsigned NOT NULL DEFAULT '0', + `flags` int(10) unsigned NOT NULL DEFAULT '0', + `count` int(10) unsigned NOT NULL DEFAULT '0', + `refAchievement` int(10) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `achievement_dbc` +-- + +LOCK TABLES `achievement_dbc` WRITE; +/*!40000 ALTER TABLE `achievement_dbc` DISABLE KEYS */; +INSERT INTO `achievement_dbc` VALUES +(3696,-1,-1,0,2,1,0), -- Earned the right to represent a city in the Argent Tournament +(4788,-1,-1,0,2,1,0), -- Is exalted with The Aldor or has any of exalted rewards +(4789,-1,-1,0,2,1,0); -- Is exalted with The Scryers or has any of exalted rewards +/*!40000 ALTER TABLE `achievement_dbc` ENABLE KEYS */; +UNLOCK TABLES; |
