From 286916349c72371f1f09fa581bde69cec0ed878b Mon Sep 17 00:00:00 2001 From: trickerer Date: Tue, 12 Mar 2024 15:00:24 +0700 Subject: [PATCH] NPCBots: Fix `hire_time` default value --- sql/Bots/updates/characters/2024_03_12_00_characters_npcbot.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/Bots/updates/characters/2024_03_12_00_characters_npcbot.sql b/sql/Bots/updates/characters/2024_03_12_00_characters_npcbot.sql index 7c5d5bf7ed45b..d165f6b1844fa 100644 --- a/sql/Bots/updates/characters/2024_03_12_00_characters_npcbot.sql +++ b/sql/Bots/updates/characters/2024_03_12_00_characters_npcbot.sql @@ -1,3 +1,3 @@ -- -ALTER TABLE `characters_npcbot` ADD `hire_time` timestamp NULL DEFAULT '0000-00-00 00:00:00' AFTER `faction`; +ALTER TABLE `characters_npcbot` ADD `hire_time` timestamp NULL DEFAULT '1970-01-01 07:00:01' AFTER `faction`; UPDATE `characters_npcbot` SET `hire_time` = CURRENT_TIMESTAMP() WHERE `owner` != 0;