diff options
author | megamage <none@none> | 2008-12-26 21:45:02 -0600 |
---|---|---|
committer | megamage <none@none> | 2008-12-26 21:45:02 -0600 |
commit | 566ed175e46809c92070682ac0c478401debb76c (patch) | |
tree | e42969de0589f531e54ef240d6ce4904ab7c78d0 /sql | |
parent | ce5d6610616a9b5f5ce625332ed26cd7b4f455e5 (diff) |
*Some fix. Finally usable.
--HG--
branch : trunk
Diffstat (limited to 'sql')
-rw-r--r-- | sql/characters.sql | 28 | ||||
-rw-r--r-- | sql/realmd.sql | 5 | ||||
-rw-r--r-- | sql/updates/TBC-WLK_world.sql | 9 |
3 files changed, 14 insertions, 28 deletions
diff --git a/sql/characters.sql b/sql/characters.sql index aad75e81ee3..3e740d7876c 100644 --- a/sql/characters.sql +++ b/sql/characters.sql @@ -224,7 +224,7 @@ CREATE TABLE `characters` ( `zone` int(11) unsigned NOT NULL default '0', `death_expire_time` bigint(20) unsigned NOT NULL default '0', `taxi_path` text, - `arena_pending_points` int(10) UNSIGNED NOT NULL default '0', + `arena_pending_points` int(10) UNSIGNED NOT NULL default '0', `latency` int(11) unsigned NOT NULL default '0', PRIMARY KEY (`guid`), KEY `idx_account` (`account`), @@ -1297,6 +1297,7 @@ LOCK TABLES `petition_sign` WRITE; /*!40000 ALTER TABLE `petition_sign` DISABLE KEYS */; /*!40000 ALTER TABLE `petition_sign` ENABLE KEYS */; UNLOCK TABLES; +/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; -- -- Table structure for table `saved_variables` @@ -1305,7 +1306,7 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `saved_variables`; CREATE TABLE `saved_variables` ( `NextArenaPointDistributionTime` bigint(40) UNSIGNED NOT NULL DEFAULT '0' -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Variable Saves'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Variable Saves'; -- -- Dumping data for table `saved_variables` @@ -1315,6 +1316,7 @@ LOCK TABLES `saved_variables` WRITE; /*!40000 ALTER TABLE `saved_variables` DISABLE KEYS */; /*!40000 ALTER TABLE `saved_variables` ENABLE KEYS */; UNLOCK TABLES; +/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; -- -- Table structure for table `game_event_condition_save` @@ -1377,28 +1379,6 @@ LOCK TABLES `has_logged_in_before` WRITE; /*!40000 ALTER TABLE `has_logged_in_before` ENABLE KEYS */; UNLOCK TABLES; -/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; - --- --- Table structure for table `saved_variables` --- - -DROP TABLE IF EXISTS `saved_variables`; -CREATE TABLE `saved_variables` ( - `NextArenaPointDistributionTime` bigint(40) UNSIGNED NOT NULL DEFAULT '0' -) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Variable Saves'; - --- --- Dumping data for table `saved_variables` --- - -LOCK TABLES `saved_variables` WRITE; -/*!40000 ALTER TABLE `saved_variables` DISABLE KEYS */; -/*!40000 ALTER TABLE `saved_variables` ENABLE KEYS */; -UNLOCK TABLES; -/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; - - /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; diff --git a/sql/realmd.sql b/sql/realmd.sql index e804ecb9e8a..2f4ea16d172 100644 --- a/sql/realmd.sql +++ b/sql/realmd.sql @@ -49,6 +49,11 @@ CREATE TABLE `account` ( LOCK TABLES `account` WRITE; /*!40000 ALTER TABLE `account` DISABLE KEYS */; +/*INSERT INTO `account` VALUES +(1,'ADMINISTRATOR','a34b29541b87b7e4823683ce6c7bf6ae68beaaac',3,'','0','0','','2006-04-25 10:18:56','127.0.0.1',0,0,'0000-00-00 00:00:00',0,0,0,0), +(2,'GAMEMASTER','7841e21831d7c6bc0b57fbe7151eb82bd65ea1f9',2,'','0','0','','2006-04-25 10:18:56','127.0.0.1',0,0,'0000-00-00 00:00:00',0,0,0,0), +(3,'MODERATOR','a7f5fbff0b4eec2d6b6e78e38e8312e64d700008',1,'','0','0','','2006-04-25 10:19:35','127.0.0.1',0,0,'0000-00-00 00:00:00',0,0,0,0), +(4,'PLAYER','3ce8a96d17c5ae88a30681024e86279f1a38c041',0,'','0','0','','2006-04-25 10:19:35','127.0.0.1',0,0,'0000-00-00 00:00:00',0,0,0,0);*/ /*!40000 ALTER TABLE `account` ENABLE KEYS */; UNLOCK TABLES; diff --git a/sql/updates/TBC-WLK_world.sql b/sql/updates/TBC-WLK_world.sql index 7ab1d9bf556..8c3cf1ffed3 100644 --- a/sql/updates/TBC-WLK_world.sql +++ b/sql/updates/TBC-WLK_world.sql @@ -9,19 +9,20 @@ alter table `creature_equip_template` change `equipmodel1` `equipentry1` mediumint(8) UNSIGNED default '0' NOT NULL, change `equipmodel2` `equipentry2` mediumint(8) UNSIGNED default '0' NOT NULL, change `equipmodel3` `equipentry3` mediumint(8) UNSIGNED default '0' NOT NULL; +update `creature_template` set equipment_id = 0; alter table `item_template` add column `ScalingStatDistribution` smallint(6) DEFAULT '0' NOT NULL after `stat_value10`, add column `ScalingStatValue` smallint(6) DEFAULT '0' NOT NULL after `ScalingStatDistribution`, add column `ItemLimitCategory` smallint(6) DEFAULT '0' NOT NULL after `ArmorDamageModifier`, - change `Duration` `Duration` int(11) NOT NULL default '0' COMMENT 'Duration in seconds. Negative value means realtime, postive value ingame time' after ArmorDamageModifier; - add column `StatsCount` tinyint(3) UNSIGNED DEFAULT '0' NOT NULL after `ContainerSlots`; - CHANGE COLUMN `TotemCategory` `TotemCategory` mediumint(9) NOT NULL default '0'; + change `Duration` `Duration` int(11) NOT NULL default '0' COMMENT 'Duration in seconds. Negative value means realtime, postive value ingame time' after ArmorDamageModifier, + add column `StatsCount` tinyint(3) UNSIGNED DEFAULT '0' NOT NULL after `ContainerSlots`, + CHANGE COLUMN `TotemCategory` `TotemCategory` mediumint(9) NOT NULL default '0'; alter table `quest_template` add column `PlayersSlain` tinyint(3) UNSIGNED DEFAULT '0' NOT NULL after `CharTitleId`, - add column `BonusTalents` tinyint(3) UNSIGNED DEFAULT '0' NOT NULL after `PlayersSlain`; + add column `BonusTalents` tinyint(3) UNSIGNED DEFAULT '0' NOT NULL after `PlayersSlain`, CHANGE `RewHonorableKills` `RewHonorableKills` int unsigned NOT NULL default '0'; DROP TABLE IF EXISTS `milling_loot_template`; |