mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-25 06:36:24 +00:00
Move sql updates under archive
This commit is contained in:
3
data/sql/archive/updates/auth/2016_07_09_00.sql
Normal file
3
data/sql/archive/updates/auth/2016_07_09_00.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
CREATE TABLE `auth_db_version` (
|
||||
`2016_07_09_00` BIT(1) DEFAULT NULL
|
||||
) ENGINE=MYISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Last applied sql update to DB';
|
||||
1
data/sql/archive/updates/auth/2016_07_09_01.sql
Normal file
1
data/sql/archive/updates/auth/2016_07_09_01.sql
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE auth_db_version CHANGE COLUMN 2016_07_09_00 2016_07_09_01 bit;
|
||||
16
data/sql/archive/updates/auth/2016_07_10_00.sql
Normal file
16
data/sql/archive/updates/auth/2016_07_10_00.sql
Normal file
@@ -0,0 +1,16 @@
|
||||
ALTER TABLE auth_db_version CHANGE COLUMN 2016_07_09_01 2016_07_10_00 bit;
|
||||
|
||||
DROP TABLE IF EXISTS `autobroadcast`;
|
||||
CREATE TABLE `autobroadcast` (
|
||||
`realmid` int(10) NOT NULL,
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`weight` tinyint(3) DEFAULT 1,
|
||||
`text` longtext NOT NULL,
|
||||
PRIMARY KEY (`id`, `realmid`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
|
||||
ALTER TABLE `autobroadcast`
|
||||
CHANGE `realmid` `realmid` INT(11) NOT NULL DEFAULT '-1',
|
||||
CHANGE `id` `id` TINYINT(3) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
CHANGE `weight` `weight` TINYINT(3) UNSIGNED DEFAULT '1',
|
||||
ENGINE=INNODB;
|
||||
Reference in New Issue
Block a user