mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 01:11:29 +00:00
* [Database] Database update improvements, content db and terminal checks * Update manifest entries with content flag * Update database_update_manifest.cpp
16 lines
368 B
C++
16 lines
368 B
C++
#include "../../common/database/database_update.h"
|
|
|
|
void WorldserverCLI::DatabaseUpdates(int argc, char **argv, argh::parser &cmd, std::string &description)
|
|
{
|
|
description = "Runs database updates manually";
|
|
|
|
if (cmd[{"-h", "--help"}]) {
|
|
return;
|
|
}
|
|
|
|
DatabaseUpdate update;
|
|
update.SetDatabase(&database)
|
|
->SetContentDatabase(&content_db)
|
|
->CheckDbUpdates();
|
|
}
|