mirror of
https://github.com/azerothcore/azerothcore-wotlk.git
synced 2025-12-06 02:30:26 -08:00
reorganized sql
This commit is contained in:
parent
97c3f36d2b
commit
ac2d30abe1
234 changed files with 39 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
-- MySQL dump 10.13 Distrib 5.6.10, for Win64 (x86_64)
|
||||
--
|
||||
-- Host: localhost Database: clean_logon
|
||||
-- Host: localhost Database: clean_auth
|
||||
-- ------------------------------------------------------
|
||||
-- Server version 5.6.10
|
||||
|
||||
3
data/sql/updates/auth/2016_07_09_00.sql
Normal file
3
data/sql/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/updates/auth/2016_07_09_01.sql
Normal file
1
data/sql/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;
|
||||
3
data/sql/updates/characters/2016_07_09_00.sql
Normal file
3
data/sql/updates/characters/2016_07_09_00.sql
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
CREATE TABLE `characters_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/updates/characters/2016_07_09_01.sql
Normal file
1
data/sql/updates/characters/2016_07_09_01.sql
Normal file
|
|
@ -0,0 +1 @@
|
|||
ALTER TABLE characters_db_version CHANGE COLUMN 2016_07_09_00 2016_07_09_01 bit;
|
||||
3
data/sql/updates/world/2016_07_09_00.sql
Normal file
3
data/sql/updates/world/2016_07_09_00.sql
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
CREATE TABLE `world_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/updates/world/2016_07_09_01.sql
Normal file
1
data/sql/updates/world/2016_07_09_01.sql
Normal file
|
|
@ -0,0 +1 @@
|
|||
ALTER TABLE world_db_version CHANGE COLUMN 2016_07_09_00 2016_07_09_01 bit;
|
||||
26
data/sql/various/pvpstats patch/pvpstats_char.sql
Normal file
26
data/sql/various/pvpstats patch/pvpstats_char.sql
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
CREATE TABLE IF NOT EXISTS `pvpstats_battlegrounds` (
|
||||
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`winner_faction` tinyint(4) NOT NULL,
|
||||
`bracket_id` tinyint(3) unsigned NOT NULL,
|
||||
`type` tinyint(3) unsigned NOT NULL,
|
||||
`date` datetime NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `pvpstats_players` (
|
||||
`battleground_id` bigint(20) unsigned NOT NULL,
|
||||
`character_guid` int(10) unsigned NOT NULL,
|
||||
`winner` bit(1) NOT NULL,
|
||||
`score_killing_blows` mediumint(8) unsigned NOT NULL,
|
||||
`score_deaths` mediumint(8) unsigned NOT NULL,
|
||||
`score_honorable_kills` mediumint(8) unsigned NOT NULL,
|
||||
`score_bonus_honor` mediumint(8) unsigned NOT NULL,
|
||||
`score_damage_done` mediumint(8) unsigned NOT NULL,
|
||||
`score_healing_done` mediumint(8) unsigned NOT NULL,
|
||||
`attr_1` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
||||
`attr_2` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
||||
`attr_3` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
||||
`attr_4` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
||||
`attr_5` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`battleground_id`,`character_guid`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue