From 421b3bb27777fb3aeade3acf3dedf5a096de982c Mon Sep 17 00:00:00 2001 From: Athrogate Date: Mon, 10 Apr 2017 11:03:36 -0700 Subject: [PATCH] Graveyards!!! --- common/version.h | 2 +- utils/sql/db_update_manifest.txt | 1 + utils/sql/git/required/2017_04_10_graveyard.sql | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 utils/sql/git/required/2017_04_10_graveyard.sql diff --git a/common/version.h b/common/version.h index 60ba600e0..411493356 100644 --- a/common/version.h +++ b/common/version.h @@ -30,7 +30,7 @@ Manifest: https://github.com/EQEmu/Server/blob/master/utils/sql/db_update_manifest.txt */ -#define CURRENT_BINARY_DATABASE_VERSION 9109 +#define CURRENT_BINARY_DATABASE_VERSION 9110 #ifdef BOTS #define CURRENT_BINARY_BOTS_DATABASE_VERSION 9017 #else diff --git a/utils/sql/db_update_manifest.txt b/utils/sql/db_update_manifest.txt index c8894f756..b4dce6c86 100644 --- a/utils/sql/db_update_manifest.txt +++ b/utils/sql/db_update_manifest.txt @@ -363,6 +363,7 @@ 9107|2017_03_09_inventory_version.sql|SHOW TABLES LIKE 'inventory_version'|empty| 9108|2017_04_07_ignore_despawn.sql|SHOW COLUMNS FROM `npc_types` LIKE 'ignore_despawn'|empty| 9109|2017_04_08_doors_disable_timer.sql|SHOW COLUMNS FROM `doors` LIKE 'disable_timer'|empty| +9110|2017_04_10_graveyard.sql|show index from graveyard WHERE key_name = 'zone_id_nonunique'|empty| # Upgrade conditions: # This won't be needed after this system is implemented, but it is used database that are not diff --git a/utils/sql/git/required/2017_04_10_graveyard.sql b/utils/sql/git/required/2017_04_10_graveyard.sql new file mode 100644 index 000000000..704797b3b --- /dev/null +++ b/utils/sql/git/required/2017_04_10_graveyard.sql @@ -0,0 +1,2 @@ +alter table graveyard drop index zone_id; +create index zone_id_nonunique on graveyard(zone_id);