mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[7868] Added guard sql queries and 7867_01_realmd_account.sql to Makefile
"the stuff I forgot in previous commit", sorry Signed-off-by: freghar <compmancz@gmail.com>
This commit is contained in:
parent
34ee1cffa2
commit
fd074a71fb
4 changed files with 6 additions and 2 deletions
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
DROP TABLE IF EXISTS `realmd_db_version`;
|
DROP TABLE IF EXISTS `realmd_db_version`;
|
||||||
CREATE TABLE `realmd_db_version` (
|
CREATE TABLE `realmd_db_version` (
|
||||||
`required_7546_02_realmd_uptime` bit(1) default NULL
|
`required_7867_01_realmd_account` 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';
|
||||||
|
|
||||||
--
|
--
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,4 @@
|
||||||
|
ALTER TABLE realmd_db_version CHANGE COLUMN required_7546_02_realmd_uptime required_7867_01_realmd_account bit;
|
||||||
|
|
||||||
ALTER TABLE `account` CHANGE COLUMN `last_ip` `last_ip` varchar(30) NOT NULL default '0.0.0.0';
|
ALTER TABLE `account` CHANGE COLUMN `last_ip` `last_ip` varchar(30) NOT NULL default '0.0.0.0';
|
||||||
ALTER TABLE `ip_banned` CHANGE COLUMN `ip` `ip` varchar(32) NOT NULL default '0.0.0.0';
|
ALTER TABLE `ip_banned` CHANGE COLUMN `ip` `ip` varchar(32) NOT NULL default '0.0.0.0';
|
||||||
|
|
|
||||||
|
|
@ -190,6 +190,7 @@ pkgdata_DATA = \
|
||||||
7839_02_mangos_command.sql \
|
7839_02_mangos_command.sql \
|
||||||
7850_01_mangos_command.sql \
|
7850_01_mangos_command.sql \
|
||||||
7855_01_mangos_pools.sql \
|
7855_01_mangos_pools.sql \
|
||||||
|
7867_01_realmd_account.sql \
|
||||||
README
|
README
|
||||||
|
|
||||||
## Additional files to include when running 'make dist'
|
## Additional files to include when running 'make dist'
|
||||||
|
|
@ -360,4 +361,5 @@ EXTRA_DIST = \
|
||||||
7839_02_mangos_command.sql \
|
7839_02_mangos_command.sql \
|
||||||
7850_01_mangos_command.sql \
|
7850_01_mangos_command.sql \
|
||||||
7855_01_mangos_pools.sql \
|
7855_01_mangos_pools.sql \
|
||||||
|
7867_01_realmd_account.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 "7867"
|
#define REVISION_NR "7868"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue