aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSubv <s.v.h21@hotmail.com>2012-10-09 08:03:45 -0700
committerSubv <s.v.h21@hotmail.com>2012-10-09 08:03:45 -0700
commitc18b3d7169340de25d18da85d7ad1f1d65f2bcfb (patch)
tree69e021e4586ca4bb9092962fcbcc26c48169482c
parent2958f64ffcd10ca7ea6b10e0b70befa5df718930 (diff)
parentc0e0f1d89b8522d3eb77bac484f392c166b1c102 (diff)
Merge pull request #8029 from tibbi/char_glyphs
allow glyph1 be null like other glyph slots
-rw-r--r--sql/base/characters_database.sql2
-rw-r--r--sql/updates/characters/2012_10_09_00_character_glyphs.sql1
2 files changed, 2 insertions, 1 deletions
diff --git a/sql/base/characters_database.sql b/sql/base/characters_database.sql
index d2ec0a94a2b..b1c57a2f5fb 100644
--- a/sql/base/characters_database.sql
+++ b/sql/base/characters_database.sql
@@ -618,7 +618,7 @@ DROP TABLE IF EXISTS `character_glyphs`;
CREATE TABLE `character_glyphs` (
`guid` int(10) unsigned NOT NULL,
`spec` tinyint(3) unsigned NOT NULL DEFAULT '0',
- `glyph1` smallint(5) unsigned NOT NULL DEFAULT '0',
+ `glyph1` smallint(5) unsigned DEFAULT '0',
`glyph2` smallint(5) unsigned DEFAULT '0',
`glyph3` smallint(5) unsigned DEFAULT '0',
`glyph4` smallint(5) unsigned DEFAULT '0',
diff --git a/sql/updates/characters/2012_10_09_00_character_glyphs.sql b/sql/updates/characters/2012_10_09_00_character_glyphs.sql
new file mode 100644
index 00000000000..b90fa7d7682
--- /dev/null
+++ b/sql/updates/characters/2012_10_09_00_character_glyphs.sql
@@ -0,0 +1 @@
+ALTER TABLE character_glyphs CHANGE glyph1 glyph1 smallint(5) unsigned DEFAULT '0';