MythTV  master
mythtv/libs/libmythtv/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(const bool upgradeAllowed = false,
11  const bool upgradeIfNoUI = false,
12  const bool informSystemd = false);
13 
14 #endif
15 
MTV_PUBLIC bool InitializeMythSchema(void)
command to get the the initial database layout from an empty database:
#define MTV_PUBLIC
Definition: mythtvexp.h:15
MTV_PUBLIC bool UpgradeTVDatabaseSchema(const bool upgradeAllowed=false, const bool upgradeIfNoUI=false, const bool informSystemd=false)
Called from outside dbcheck.cpp to update the schema.