message: Flipped accdb/chardb creation query logic in dbtool, old was wrong.
diff: @@ -78,23 +78,23 @@ void ConfigStruct::putFilePath()
  if(isSqlite())
  {
  if(m_character_db)
  - m_file_path = db_dir.currentPath() + "/default_dbs/sqlite/segs_sqlite_create.sql";
  - else
  m_file_path = db_dir.currentPath() + "/default_dbs/sqlite/segs_game_sqlite_create.sql";
  + else
  + m_file_path = db_dir.currentPath() + "/default_dbs/sqlite/segs_sqlite_create.sql";
  }
  else if(isMysql())
  {
  if(m_character_db)
  - m_file_path = db_dir.currentPath() + "/default_dbs/mysql/segs_mysql_create.sql";
  - else
  m_file_path = db_dir.currentPath() + "/default_dbs/mysql/segs_game_mysql_create.sql";
  + else
  + m_file_path = db_dir.currentPath() + "/default_dbs/mysql/segs_mysql_create.sql";
  }
  else if(isPostgresql())
  {
  if(m_character_db)
  - m_file_path = db_dir.currentPath() + "/default_dbs/pgsql/segs_postgres_create.sql";
  - else
  m_file_path = db_dir.currentPath() + "/default_dbs/pgsql/segs_game_postgres_create.sql";
  + else
  + m_file_path = db_dir.currentPath() + "/default_dbs/pgsql/segs_postgres_create.sql";
  }
  else
  qFatal("Unknown database driver.");
  @@ -417,7 +417,7 @@ int main(int argc, char **argv)
  qWarning() << "Forced flag used '-f'. Existing databases may be overwritten.";
  createDatabases(configs);
  - addAccount(configs[1], "segsadmin", "segs123", 9);
  + addAccount(configs[0], "segsadmin", "segs123", 9);
  break;
  }
  case 1:
  @@ -432,7 +432,7 @@ int main(int argc, char **argv)
  qCritical() << "Cannot add account, the database does not exist";
  return -1;
  }
  - addAccount(configs[1], parser.value(loginOption),
  + addAccount(configs[0], parser.value(loginOption),
  parser.value(passOption), parser.value(accessLevelOption).toUInt());
  }
  }
  