DarkflameServer/dDatabase/GameDatabase/MySQL/Tables
David Markowitz a60865cd19
feat: allow SQLite database backend (#1663)
* simplify leaderboard code, fully abstract database

* update exception catching

* update exception catching and sql references, remove ugc from gamemessages

fix deleting model

remove unrelated changes

Update GameMessages.cpp

* remove ugc from gamemessages

* Update GameMessages.cpp

* Update Leaderboard.cpp

* bug fixes

* fix racing leaderboard

* remove extra stuff

* update

* add sqlite

* use a default for optimizations

* update sqlite

* Fix limits on update and delete

* fix bugs

* use definition to switch between databases

* add switch for different backends

* fix include guard and includes

* always build both

* add mysql if block

* Update Database.cpp

* add new options and add check to prevent overriding mysql

* correct config names

* Update README.md

* Update README.md

* merge to 1 sql file for sqlite database

* move to sqlite folder

* add back mysql migrations

* Update README.md

* add migration to correct the folder name or mysql

* yes aron

* updates

* Update CMakeLists.txt

* dont use paths at all, add where check to only update if folder name still exist

check also doesnt check for slashes and assumes one will be there since it will be.

* default dont auto create account

for releases we can change this flag

* default 0

* add times played query

* fix leaderboard not incrementing on a not better score

* add env vars with defaults for docker

* use an "enum"

* default to mariadb

* Update .env.example
2024-12-17 16:07:07 -08:00
..
Accounts.cpp feat: allow SQLite database backend (#1663) 2024-12-17 16:07:07 -08:00
AccountsRewardCodes.cpp feat: Reward codes (#1308) 2023-11-21 18:05:15 -08:00
ActivityLog.cpp refactor: Database abstraction and organization of files (#1274) 2023-11-17 18:47:18 -06:00
Behaviors.cpp Add loading from database 2024-05-18 03:36:29 -07:00
BugReports.cpp refactor: Database abstraction and organization of files (#1274) 2023-11-17 18:47:18 -06:00
CharInfo.cpp refactor: Database abstraction and organization of files (#1274) 2023-11-17 18:47:18 -06:00
CharXml.cpp refactor: Database abstraction and organization of files (#1274) 2023-11-17 18:47:18 -06:00
CMakeLists.txt fix: abstract ugc rockets and cars from GameMessages (#1660) 2024-12-05 20:00:54 -08:00
CommandLog.cpp refactor: Database abstraction and organization of files (#1274) 2023-11-17 18:47:18 -06:00
Friends.cpp refactor: Database abstraction and organization of files (#1274) 2023-11-17 18:47:18 -06:00
IgnoreList.cpp Works for online players now 2023-11-18 18:37:06 -08:00
Leaderboard.cpp fix leaderboard not incrementing on a not better score (#1674) 2024-12-10 05:37:49 -06:00
Mail.cpp refactor: Database abstraction and organization of files (#1274) 2023-11-17 18:47:18 -06:00
MigrationHistory.cpp refactor: Database abstraction and organization of files (#1274) 2023-11-17 18:47:18 -06:00
ObjectIdTracker.cpp refactor: Database abstraction and organization of files (#1274) 2023-11-17 18:47:18 -06:00
PetNames.cpp refactor: Database abstraction and organization of files (#1274) 2023-11-17 18:47:18 -06:00
PlayerCheatDetections.cpp refactor: Database abstraction and organization of files (#1274) 2023-11-17 18:47:18 -06:00
PlayKeys.cpp refactor: Database abstraction and organization of files (#1274) 2023-11-17 18:47:18 -06:00
Property.cpp fix: Remove database requirements for Property Entrance Component and greatly simplify logic (#1650) 2024-11-23 15:56:31 -06:00
PropertyContents.cpp Add loading from database 2024-05-18 03:36:29 -07:00
Servers.cpp refactor: Database abstraction and organization of files (#1274) 2023-11-17 18:47:18 -06:00
Ugc.cpp refactor: Database abstraction and organization of files (#1274) 2023-11-17 18:47:18 -06:00
UgcModularBuild.cpp fix: abstract ugc rockets and cars from GameMessages (#1660) 2024-12-05 20:00:54 -08:00