[8596] fixed query from last commit

now i also know what the error caused
old sql made "alter table `characters`.`bugreport`"
but my database wasn't supposed to be called "characters"
and the other db had an index defined over the type-field
This commit is contained in:
balrok 2009-10-07 00:57:50 +02:00
parent 6800ae932b
commit dc382abdf5
4 changed files with 8 additions and 2 deletions

View file

@ -21,7 +21,7 @@
DROP TABLE IF EXISTS `character_db_version`;
CREATE TABLE `character_db_version` (
`required_8589_11_characters_characters` bit(1) default NULL
`required_8596_01_characters_bugreport` bit(1) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Last applied sql update to DB';
--

View file

@ -0,0 +1,4 @@
ALTER TABLE character_db_version CHANGE COLUMN required_8589_11_characters_characters required_8596_01_characters_bugreport bit;
ALTER TABLE `bugreport` CHANGE `type` `type` LONGTEXT NOT NULL;
ALTER TABLE `bugreport` CHANGE `content` `content` LONGTEXT NOT NULL;

View file

@ -128,6 +128,7 @@ pkgdata_DATA = \
8589_09_mangos_spell_chain.sql \
8589_10_mangos_spell_proc_event.sql \
8589_11_characters_characters.sql \
8596_01_characters_bugreport.sql \
README
## Additional files to include when running 'make dist'
@ -236,4 +237,5 @@ EXTRA_DIST = \
8589_09_mangos_spell_chain.sql \
8589_10_mangos_spell_proc_event.sql \
8589_11_characters_characters.sql \
8596_01_characters_bugreport.sql \
README

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "8595"
#define REVISION_NR "8596"
#endif // __REVISION_NR_H__