diff --git a/L2J_DataPack/dist/sql/game/characters.sql b/L2J_DataPack/dist/sql/game/characters.sql index 86ab28d199fe867dd14745ab8fcad04dec6c6eaf..f84c9c6cb48c701f75652ffafc6a9ed5752e9de0 100644 --- a/L2J_DataPack/dist/sql/game/characters.sql +++ b/L2J_DataPack/dist/sql/game/characters.sql @@ -53,7 +53,7 @@ CREATE TABLE IF NOT EXISTS `characters` ( `death_penalty_level` SMALLINT UNSIGNED NOT NULL DEFAULT 0, `bookmarkslot` SMALLINT UNSIGNED NOT NULL DEFAULT 0, `vitality_points` SMALLINT UNSIGNED NOT NULL DEFAULT 0, - `createDate` date NOT NULL DEFAULT '0000-00-00', + `createDate` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, `language` VARCHAR(2) DEFAULT NULL, PRIMARY KEY (`charId`), KEY `account_name` (`account_name`), diff --git a/L2J_DataPack/dist/sql/game/updates/20150705update.sql b/L2J_DataPack/dist/sql/game/updates/20150705update.sql new file mode 100644 index 0000000000000000000000000000000000000000..b8a6825f92e2113c53ddd4ae588af4aad74142a2 --- /dev/null +++ b/L2J_DataPack/dist/sql/game/updates/20150705update.sql @@ -0,0 +1 @@ +ALTER TABLE `characters` CHANGE COLUMN `createDate` `createDate` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER `vitality_points`; \ No newline at end of file