mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
[Database] Fix default value for time_of_death in character_corpses (#4060)
* [Database] Fix default value for `time_of_death` in `character_corpses` * Extra `NULL` * Update repository * Repositories with updated structure this time
This commit is contained in:
@@ -5346,6 +5346,16 @@ CREATE TABLE guild_tributes (
|
||||
) ENGINE=InnoDB;
|
||||
)"
|
||||
},
|
||||
ManifestEntry{
|
||||
.version = 9261,
|
||||
.description = "2024_02_11_character_corpses.sql",
|
||||
.check = "SHOW COLUMNS FROM `character_corpses` LIKE 'time_of_death'",
|
||||
.condition = "contains",
|
||||
.match = "0000-00-00 00:00:00",
|
||||
.sql = R"(
|
||||
ALTER TABLE `character_corpses` MODIFY COLUMN `time_of_death` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP;
|
||||
)"
|
||||
}
|
||||
// -- template; copy/paste this when you need to create a new entry
|
||||
// ManifestEntry{
|
||||
// .version = 9228,
|
||||
|
||||
Reference in New Issue
Block a user