mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[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:
parent
6800ae932b
commit
dc382abdf5
4 changed files with 8 additions and 2 deletions
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
DROP TABLE IF EXISTS `character_db_version`;
|
DROP TABLE IF EXISTS `character_db_version`;
|
||||||
CREATE TABLE `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';
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Last applied sql update to DB';
|
||||||
|
|
||||||
--
|
--
|
||||||
|
|
|
||||||
4
sql/updates/8596_01_characters_bugreport.sql
Normal file
4
sql/updates/8596_01_characters_bugreport.sql
Normal 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;
|
||||||
|
|
@ -128,6 +128,7 @@ pkgdata_DATA = \
|
||||||
8589_09_mangos_spell_chain.sql \
|
8589_09_mangos_spell_chain.sql \
|
||||||
8589_10_mangos_spell_proc_event.sql \
|
8589_10_mangos_spell_proc_event.sql \
|
||||||
8589_11_characters_characters.sql \
|
8589_11_characters_characters.sql \
|
||||||
|
8596_01_characters_bugreport.sql \
|
||||||
README
|
README
|
||||||
|
|
||||||
## Additional files to include when running 'make dist'
|
## Additional files to include when running 'make dist'
|
||||||
|
|
@ -236,4 +237,5 @@ EXTRA_DIST = \
|
||||||
8589_09_mangos_spell_chain.sql \
|
8589_09_mangos_spell_chain.sql \
|
||||||
8589_10_mangos_spell_proc_event.sql \
|
8589_10_mangos_spell_proc_event.sql \
|
||||||
8589_11_characters_characters.sql \
|
8589_11_characters_characters.sql \
|
||||||
|
8596_01_characters_bugreport.sql \
|
||||||
README
|
README
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "8595"
|
#define REVISION_NR "8596"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue