mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-02 02:23:49 +00:00
Archived old sql files, they are now integrated in base
This commit is contained in:
6
data/sql/archive/updates/db_auth/2016_08_25_00.sql
Normal file
6
data/sql/archive/updates/db_auth/2016_08_25_00.sql
Normal file
@@ -0,0 +1,6 @@
|
||||
ALTER TABLE auth_db_version CHANGE COLUMN 2016_07_10_00 2016_08_25_00 bit;
|
||||
|
||||
--
|
||||
-- Do not remove this file when we archive sql under this folder
|
||||
-- it is needed for pending sql importer
|
||||
--
|
||||
13
data/sql/archive/updates/db_auth/2016_08_25_01.sql
Normal file
13
data/sql/archive/updates/db_auth/2016_08_25_01.sql
Normal file
@@ -0,0 +1,13 @@
|
||||
ALTER TABLE auth_db_version CHANGE COLUMN 2016_08_25_00 2016_08_25_01 bit;
|
||||
|
||||
RENAME TABLE `auth_db_version` TO `version_db_auth`;
|
||||
|
||||
ALTER TABLE `version_db_auth`
|
||||
ADD COLUMN `sql_rev` VARCHAR(100) NOT NULL FIRST,
|
||||
ADD COLUMN `required_rev` VARCHAR(100) NULL AFTER `sql_rev`,
|
||||
ADD PRIMARY KEY (`sql_rev`),
|
||||
ENGINE=INNODB;
|
||||
|
||||
ALTER TABLE `version_db_auth` ADD CONSTRAINT `required` FOREIGN KEY (`required_rev`) REFERENCES `version_db_auth`(`sql_rev`);
|
||||
|
||||
|
||||
13
data/sql/archive/updates/db_auth/2016_09_04_00.sql
Normal file
13
data/sql/archive/updates/db_auth/2016_09_04_00.sql
Normal file
@@ -0,0 +1,13 @@
|
||||
START TRANSACTION;
|
||||
|
||||
ALTER TABLE version_db_auth CHANGE COLUMN 2016_08_25_01 2016_09_04_00 bit;
|
||||
|
||||
CREATE TABLE `logs` (
|
||||
`time` int(10) unsigned NOT NULL,
|
||||
`realm` int(10) unsigned NOT NULL,
|
||||
`type` varchar(250) NOT NULL,
|
||||
`level` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`string` text CHARACTER SET latin1
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
COMMIT;
|
||||
Reference in New Issue
Block a user