mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-11 09:58:05 +00:00
fix: need to create account twice due to commit latency?? (#1873)
idk fixes the issue
This commit is contained in:
@@ -159,6 +159,7 @@ int main(int argc, char** argv) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
MigrationRunner::RunMigrations();
|
MigrationRunner::RunMigrations();
|
||||||
|
Database::Get()->Commit();
|
||||||
const auto resServerPath = BinaryPathFinder::GetBinaryDir() / "resServer";
|
const auto resServerPath = BinaryPathFinder::GetBinaryDir() / "resServer";
|
||||||
std::filesystem::create_directories(resServerPath);
|
std::filesystem::create_directories(resServerPath);
|
||||||
const bool cdServerExists = std::filesystem::exists(resServerPath / "CDServer.sqlite");
|
const bool cdServerExists = std::filesystem::exists(resServerPath / "CDServer.sqlite");
|
||||||
|
Reference in New Issue
Block a user