![]() |
Atlas Game Manager
A game manager for f95 and dlsite written in c++
|
#include "core/database/RapidTransaction.hpp"#include "core/logging/logging.hpp"#include "templates.hpp"Namespaces | |
| namespace | atlas |
| namespace | atlas::database |
| namespace | atlas::database::migrations |
Macros | |
| #define | MIGRATE(idx) |
| Helper MACRO to easily add migrations to the switch inside runUp(). | |
Functions | |
| template<std::uint64_t id> | |
| void | atlas::database::migrations::runUp (Transaction &trans) |
| Runs the transaction and marks it as complete in the migrations table. | |
| void | atlas::database::migrations::runUp () |
| Runs all transactions up until hitting MIGRATIONS_VERSION - 1. | |
Variables | |
| static constexpr int | atlas::database::migrations::MIGRATIONS_VERSION { 18 } |
| Int to represent what the highest migration is at (Starting at migration 0 we run until we are N <= MIGRATIONS_VERSION) | |
| #define MIGRATE | ( | idx | ) |
Helper MACRO to easily add migrations to the switch inside runUp().