Skip to content

Commit

Permalink
NPCBots: Fix hire_time default value
Browse files Browse the repository at this point in the history
  • Loading branch information
trickerer committed Mar 12, 2024
1 parent 4a865fb commit 2869163
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit 2869163

Please sign in to comment.