mirror of
https://github.com/araxiaonline/mod-mythic-plus.git
synced 2026-06-13 03:02:24 -04:00
updated the schema for stats and run s
This commit is contained in:
21
data/sql/db-characters/base/mp_schema.sql
Normal file
21
data/sql/db-characters/base/mp_schema.sql
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
CREATE TABLE IF NOT EXISTS mp_character_instance (
|
||||
character_guid INT UNSIGNED NOT NULL DEFAULT '0',
|
||||
current_difficulty TINYINT UNSIGNED NOT NULL DEFAULT '1',
|
||||
deaths INT UNSIGNED DEFAULT '0',
|
||||
|
||||
PRIMARY KEY (guid)
|
||||
);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS mp_character_dungeon_stats (
|
||||
character_guid INT UNSIGNED NOT NULL DEFAULT '0',
|
||||
dungeon_id INT UNSIGNED NOT NULL DEFAULT '0',
|
||||
difficulty TINYINT UNSIGNED NOT NULL DEFAULT '0',
|
||||
deaths INT UNSIGNED DEFAULT '0',
|
||||
runs INT UNSIGNED DEFAULT '0',
|
||||
completions INT UNSIGNED DEFAULT '0',
|
||||
failures INT UNSIGNED DEFAULT '0',
|
||||
total_time INT UNSIGNED DEFAULT '0',
|
||||
best_time INT UNSIGNED DEFAULT '0',
|
||||
PRIMARY KEY (guid, dungeon_id, difficulty)
|
||||
);
|
||||
Reference in New Issue
Block a user