mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-22 13:16:23 +00:00
MySQL: account table restructure (#1230)
* DB/auth: change last_login to NULL instead of invalid date and up email colum to varchar 255 from 254
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
INSERT INTO version_db_auth (`sql_rev`) VALUES ('1546540718864817294');
|
||||
|
||||
ALTER TABLE `account` CHANGE `last_login` `last_login` TIMESTAMP NULL DEFAULT NULL;
|
||||
ALTER TABLE `account` CHANGE `email` `email` VARCHAR(255) NOT NULL DEFAULT '';
|
||||
|
||||
UPDATE `account` SET `last_login`=NULL WHERE `last_login`='0000-00-00 00:00:00';
|
||||
Reference in New Issue
Block a user