FOSSredder 0.5.0
Loading...
Searching...
No Matches
SqliteSchema Class Reference

#include <SqliteSchema.h>

Static Public Member Functions

static void ensure (sqlite3 *db)
 Ensure the database schema exists and is migrated.
static void migrate (sqlite3 *db)
 Run schema migrations for the database.

Detailed Description

Definition at line 12 of file SqliteSchema.h.

Member Function Documentation

◆ ensure()

void SqliteSchema::ensure ( sqlite3 * db)
static

Ensure the database schema exists and is migrated.

Parameters
dbSQLite database handle.

Definition at line 45 of file SqliteSchema.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ migrate()

void SqliteSchema::migrate ( sqlite3 * db)
static

Run schema migrations for the database.

Parameters
dbSQLite database handle.

Definition at line 54 of file SqliteSchema.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

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