aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2014-10-24 19:56:17 +0200
committerShauren <shauren.trinity@gmail.com>2014-10-24 19:56:17 +0200
commit9fc0b76cd182444bac28591204ec1c5b01475568 (patch)
treeb6cd3ec1d30dcf974f75571e97304018ea88e02a /sql/updates
parent6cb52fe4e82c3b53a025f0463c0023cd1cd86ea5 (diff)
Core/Entities: Fourth part of converting int to bigint guids in database
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/characters/2014_10_24_00_characters.sql16
-rw-r--r--sql/updates/world/2014_10_24_02_world.sql2
2 files changed, 18 insertions, 0 deletions
diff --git a/sql/updates/characters/2014_10_24_00_characters.sql b/sql/updates/characters/2014_10_24_00_characters.sql
new file mode 100644
index 00000000000..099c699367c
--- /dev/null
+++ b/sql/updates/characters/2014_10_24_00_characters.sql
@@ -0,0 +1,16 @@
+ALTER TABLE `character_social` CHANGE `guid` `guid` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0';
+ALTER TABLE `character_social` CHANGE `friend` `friend` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0';
+ALTER TABLE `character_spell` CHANGE `guid` `guid` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0';
+ALTER TABLE `character_spell_cooldown` CHANGE `guid` `guid` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0';
+ALTER TABLE `character_stats` CHANGE `guid` `guid` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0';
+ALTER TABLE `character_talent` CHANGE `guid` `guid` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0';
+ALTER TABLE `character_void_storage` CHANGE `playerGuid` `playerGuid` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0';
+ALTER TABLE `character_void_storage` CHANGE `creatorGuid` `creatorGuid` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0';
+ALTER TABLE `corpse` CHANGE `corpseGuid` `corpseGuid` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0';
+ALTER TABLE `corpse` CHANGE `guid` `guid` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0';
+ALTER TABLE `gm_surveys` CHANGE `guid` `guid` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0';
+ALTER TABLE `gm_tickets` CHANGE `guid` `guid` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0';
+ALTER TABLE `gm_tickets` CHANGE `closedBy` `closedBy` BIGINT(20) NOT NULL DEFAULT '0';
+ALTER TABLE `gm_tickets` CHANGE `assignedTo` `assignedTo` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0';
+ALTER TABLE `characters` CHANGE `guid` `guid` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0';
+ALTER TABLE `characters` CHANGE `transguid` `transguid` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0';
diff --git a/sql/updates/world/2014_10_24_02_world.sql b/sql/updates/world/2014_10_24_02_world.sql
new file mode 100644
index 00000000000..f0ff963de81
--- /dev/null
+++ b/sql/updates/world/2014_10_24_02_world.sql
@@ -0,0 +1,2 @@
+UPDATE `trinity_string` SET `content_default`=' %s (%s)' WHERE `entry`=329;
+UPDATE `trinity_string` SET `content_default`='%s - owner: %s (%s account: %u) %s' WHERE `entry`=510;