Player12
An open source football management simulator
Loading...
Searching...
No Matches
RuntimeEditor::Extensions Class Reference

#include <runtime_editor.h>

Classes

struct  ExtraTable
 

Public Member Functions

 Extensions (sqlite3 *active, sqlite3 *canonical)
 
void capture (sqlite3 *db)
 
void restore (sqlite3 *db) const
 
bool empty () const
 

Private Attributes

std::vector< ExtraTable > tables
 

Detailed Description

Preserves extra columns while existing repositories rewrite known tables. The canonical schema is discovered from this build's schema, not a fixed editor allowlist. Restore matches stable keys and never resurrects rows.

Constructor & Destructor Documentation

◆ Extensions()

RuntimeEditor::Extensions::Extensions ( sqlite3 *  active,
sqlite3 *  canonical 
)

Member Function Documentation

◆ capture()

void RuntimeEditor::Extensions::capture ( sqlite3 *  db)

◆ empty()

bool RuntimeEditor::Extensions::empty ( ) const
inline

◆ restore()

void RuntimeEditor::Extensions::restore ( sqlite3 *  db) const

Member Data Documentation

◆ tables

std::vector<ExtraTable> RuntimeEditor::Extensions::tables
private

The documentation for this class was generated from the following files: