15 lines
338 B
C++
15 lines
338 B
C++
#include "dbconfig.h"
|
|||
|
|
|
||
|
|
DbConfig DbConfig::defaultConfig()
|
||
|
|
{
|
||
|
|
DbConfig config;
|
||
|
|
config.driverName = "QPSQL";
|
||
|
|
config.hostName = "127.0.0.1";
|
||
|
|
config.port = 5432;
|
||
|
|
config.databaseName = "ssp";
|
||
|
|
config.userName = "postgres";
|
||
|
|
config.password = "hardman";
|
||
|
|
config.connectionName = "ssp_postgres";
|
||
|
|
return config;
|
||
|
|
}
|