mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
Создание БД из кода. Требуется рефакт.
This commit is contained in:
@@ -39,6 +39,15 @@ public:
|
||||
static const QString TypeUserDBInstructor;
|
||||
static const QString TypeUserDBTrainee;
|
||||
|
||||
public:
|
||||
//PostgreSQL
|
||||
bool checkDriverQPSQLavailable();
|
||||
bool checkUserLMSexist();
|
||||
bool checkDataBaseLMSexist();
|
||||
|
||||
bool createUser(QString name);
|
||||
bool createDB(QString name);
|
||||
|
||||
protected:
|
||||
//Подключение
|
||||
bool createConnection();
|
||||
|
||||
Reference in New Issue
Block a user