Big cleanup
This commit is contained in:
parent
d3080a08bb
commit
8b671090a0
55 changed files with 214 additions and 3967 deletions
|
|
@ -198,14 +198,11 @@ void PasswordManager::initializeNewPskStore(QSqlDatabase &db)
|
|||
" salt TEXT \n"
|
||||
");");
|
||||
if (!create_tbl.exec()) {
|
||||
// auto sql_error = create_tbl.lastError();
|
||||
// throw std::runtime_error("create table failed");
|
||||
auto err = create_tbl.lastError();
|
||||
throw SqlException(err);
|
||||
}
|
||||
}
|
||||
|
||||
// db->create_table(
|
||||
QSqlQuery create_tbl(db);
|
||||
create_tbl.prepare(
|
||||
"CREATE TABLE IF NOT EXISTS " + m_secretHashTableName + "( \n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue