aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql')
-rw-r--r--sql/base/world_database.sql3
-rw-r--r--sql/updates/10192_world_creature.sql4
2 files changed, 7 insertions, 0 deletions
diff --git a/sql/base/world_database.sql b/sql/base/world_database.sql
index 4d2ffdcdd54..7cd6c80b1a5 100644
--- a/sql/base/world_database.sql
+++ b/sql/base/world_database.sql
@@ -781,6 +781,9 @@ CREATE TABLE `creature` (
`curmana` int(10) unsigned NOT NULL DEFAULT '0',
`DeathState` tinyint(3) unsigned NOT NULL DEFAULT '0',
`MovementType` tinyint(3) unsigned NOT NULL DEFAULT '0',
+ `npcflag` int(10) unsigned NOT NULL DEFAULT '0',
+ `unit_flags` int(10) unsigned NOT NULL DEFAULT '0',
+ `dynamicflags` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`),
KEY `idx_map` (`map`),
KEY `idx_id` (`id`)
diff --git a/sql/updates/10192_world_creature.sql b/sql/updates/10192_world_creature.sql
new file mode 100644
index 00000000000..012ef06ad07
--- /dev/null
+++ b/sql/updates/10192_world_creature.sql
@@ -0,0 +1,4 @@
+ALTER TABLE `creature`
+ ADD COLUMN `npcflag` int(10) unsigned NOT NULL DEFAULT '0' AFTER `MovementType`,
+ ADD COLUMN `unit_flags` int(10) unsigned NOT NULL DEFAULT '0' AFTER `npcflag`,
+ ADD COLUMN `dynamicflags` int(10) unsigned NOT NULL DEFAULT '0' AFTER `unit_flags`;