mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-05-25 16:22:26 +00:00
18 lines
320 B
C++
18 lines
320 B
C++
#pragma once
|
|
|
|
class DatabaseBase;
|
|
|
|
struct Migration {
|
|
std::string data;
|
|
std::string name;
|
|
|
|
static Migration LoadMigration(const std::string& type, const std::string& dbType, const std::string& name);
|
|
};
|
|
|
|
class MigrationManager {
|
|
public:
|
|
void RunMigrations(DatabaseBase* db);
|
|
void RunSQLiteMigrations();
|
|
private:
|
|
};
|