aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authorAzazel <azazel.kon@gmail.com>2011-02-24 23:39:45 +0600
committerAzazel <azazel.kon@gmail.com>2011-02-25 00:44:33 +0600
commit20ab3e4bdace5da533005532b67fa53bdf70aa03 (patch)
treeb6cc1bd7a4d64fe726ba75c09ecf92fa3cffe7f6 /sql/updates
parent3e046f9bc4a1b9a14025d1569e51dd11907b41fb (diff)
CharDB Schema/Cleanup: cleanup account_data and character_account_data tables:
* rename column account to accountId; * introduce prepared statements for both tables.
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/auth_char/2011_02_24_0_characters_account_data.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/updates/auth_char/2011_02_24_0_characters_account_data.sql b/sql/updates/auth_char/2011_02_24_0_characters_account_data.sql
new file mode 100644
index 00000000000..b4a8ed25e8d
--- /dev/null
+++ b/sql/updates/auth_char/2011_02_24_0_characters_account_data.sql
@@ -0,0 +1 @@
+ALTER TABLE `account_data` CHANGE COLUMN `account` `accountId` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Account Identifier';