From b3ad481d97520352d5f72131aa4f32b3eb862521 Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Wed, 16 Sep 2020 11:09:23 +0000 Subject: [PATCH] Primary key for characters SQL table must be charId. --- .../dist/db_installer/sql/game/characters.sql | 2 +- .../dist/db_installer/sql/game/characters.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/db_installer/sql/game/characters.sql b/L2J_Mobius_C4_ScionsOfDestiny/dist/db_installer/sql/game/characters.sql index bbe1bfbf91..9a357de631 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/db_installer/sql/game/characters.sql +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/db_installer/sql/game/characters.sql @@ -85,6 +85,6 @@ CREATE TABLE IF NOT EXISTS characters ( first_log INT DEFAULT 1, aio decimal(1,0) NOT NULL DEFAULT 0, aio_end decimal(20,0) NOT NULL DEFAULT 0, - PRIMARY KEY (obj_Id), + PRIMARY KEY (charId), KEY `clanid` (`clanid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/db_installer/sql/game/characters.sql b/L2J_Mobius_C6_Interlude/dist/db_installer/sql/game/characters.sql index bbe1bfbf91..9a357de631 100644 --- a/L2J_Mobius_C6_Interlude/dist/db_installer/sql/game/characters.sql +++ b/L2J_Mobius_C6_Interlude/dist/db_installer/sql/game/characters.sql @@ -85,6 +85,6 @@ CREATE TABLE IF NOT EXISTS characters ( first_log INT DEFAULT 1, aio decimal(1,0) NOT NULL DEFAULT 0, aio_end decimal(20,0) NOT NULL DEFAULT 0, - PRIMARY KEY (obj_Id), + PRIMARY KEY (charId), KEY `clanid` (`clanid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; \ No newline at end of file