VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
VoltMod::MigrationResult Struct Reference

#include <Migrator.hpp>

Public Member Functions

 operator bool () const
 

Public Attributes

bool Success = false
 
int Applied = 0
 Migrations applied by this run.
 
int CurrentVersion = 0
 Max version recorded in the history table after the run.
 

Detailed Description

Outcome of RunMigrations. Contextually convertible to bool (success).

Definition at line 30 of file Migrator.hpp.

Member Function Documentation

◆ operator bool()

VoltMod::MigrationResult::operator bool ( ) const
inlineexplicit

Definition at line 36 of file Migrator.hpp.

References Success.

Member Data Documentation

◆ Applied

int VoltMod::MigrationResult::Applied = 0

Migrations applied by this run.

Definition at line 33 of file Migrator.hpp.

◆ CurrentVersion

int VoltMod::MigrationResult::CurrentVersion = 0

Max version recorded in the history table after the run.

Definition at line 34 of file Migrator.hpp.

◆ Success

bool VoltMod::MigrationResult::Success = false

Definition at line 32 of file Migrator.hpp.

Referenced by operator bool(), and VoltMod::RunMigrations().


The documentation for this struct was generated from the following file: