Basic demonstrator
Works fine but can be slow, especially because of heavy IO.
This commit is contained in:
commit
afe832654d
8 changed files with 414 additions and 0 deletions
23
db_info.h
Normal file
23
db_info.h
Normal file
|
@ -0,0 +1,23 @@
|
|||
//
|
||||
// Created by trotfunky on 02/10/2021.
|
||||
//
|
||||
|
||||
#ifndef AUTOPOINTSPERMIS_DB_INFO_H
|
||||
#define AUTOPOINTSPERMIS_DB_INFO_H
|
||||
|
||||
#include <string>
|
||||
|
||||
const std::string dbName = "Permis.sqlite3";
|
||||
const std::string pointsTable = "POINTS";
|
||||
|
||||
const std::string keyColumn = "LicenseHash";
|
||||
const std::string idColumn = "LicenseID";
|
||||
const std::string pointsColumn = "Points";
|
||||
const std::string countdownColumn = "Countdown";
|
||||
const std::string onePointCountdownColumn = "OneCountdown";
|
||||
const std::string tenYearsCountdownColumn = "TenYCountdown";
|
||||
const std::string graveOffenceColumn = "HasGrave";
|
||||
|
||||
constexpr int IDLength = 40;
|
||||
|
||||
#endif //AUTOPOINTSPERMIS_DB_INFO_H
|
Loading…
Add table
Add a link
Reference in a new issue