MythTV  master
dbcheck.h
Go to the documentation of this file.
1 #ifndef DBCHECK_H_
2 #define DBCHECK_H_
3 
4 #include "mythtvexp.h"
5 
6 // Call after establishing the first db connection.
8 
9 // Call after initializing the main db connection.
10 MTV_PUBLIC bool UpgradeTVDatabaseSchema(bool upgradeAllowed = false,
11  bool upgradeIfNoUI = false,
12  bool informSystemd = false);
13 
14 #endif
15 
mythtvexp.h
MTV_PUBLIC
#define MTV_PUBLIC
Definition: mythtvexp.h:15
UpgradeTVDatabaseSchema
MTV_PUBLIC bool UpgradeTVDatabaseSchema(bool upgradeAllowed=false, bool upgradeIfNoUI=false, bool informSystemd=false)
Called from outside dbcheck.cpp to update the schema.
Definition: dbcheck.cpp:362
InitializeMythSchema
MTV_PUBLIC bool InitializeMythSchema(void)
command to get the the initial database layout from an empty database:
Definition: dbcheck.cpp:3825