MythTV master
dbcheck.h
Go to the documentation of this file.
1#ifndef DBCHECK_H_
2#define DBCHECK_H_
3
6
7// Call after establishing the first db connection.
9
10// Call after initializing the main db connection.
11MTV_PUBLIC bool UpgradeTVDatabaseSchema(bool upgradeAllowed = false,
12 bool upgradeIfNoUI = false,
13 bool informSystemd = false);
14
16#endif
MTV_PUBLIC bool InitializeMythSchema(void)
command to get the the initial database layout from an empty database:
Definition: dbcheck.cpp:1269
MTV_PUBLIC DBUpdates getRecordingExtenderDbInfo(int version)
Definition: dbcheck.cpp:3177
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
std::vector< std::string > DBUpdates
Definition: mythdbcheck.h:9
#define MTV_PUBLIC
Definition: mythtvexp.h:8
string version
Definition: giantbomb.py:185