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:
@@ -41,12 +41,12 @@ public:
|
||||
|
||||
public:
|
||||
//PostgreSQL
|
||||
bool setUserPasswordPostgres(QString userName, QString password);
|
||||
bool checkDriverQPSQLavailable();
|
||||
bool checkUserLMSexist();
|
||||
bool checkDataBaseLMSexist();
|
||||
|
||||
bool createUser(QString name);
|
||||
bool createDB(QString name);
|
||||
bool createUser();
|
||||
bool createDB();
|
||||
|
||||
protected:
|
||||
//Подключение
|
||||
@@ -126,6 +126,10 @@ private:
|
||||
protected:
|
||||
QSqlDatabase* db;
|
||||
DataBaseSettings dbSettings;
|
||||
|
||||
QString UserNamePostgres;
|
||||
QString PasswordPostgres;
|
||||
|
||||
QTranslator qtLanguageTranslator;
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user