Создание БД из кода. Требуется рефакт.

This commit is contained in:
2025-10-30 14:56:58 +03:00
parent c11871e8f4
commit 0d1d851e3f
16 changed files with 718 additions and 32 deletions

View File

@@ -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();