Closed dominictdavies closed 5 months ago
lets try our best not to create a sql injection vulnerability lol
One database with many tables Table Users has columns:
Table Game has columns:
lobby
lobbytags - rows need to be made unique ;-; easy for dupe rows to spread
lobbyplayers - rows need to be made unique ;-; easy for dupe rows to spread
tags
tell me if i forgot something
forgot to add lobbytimes rip would need uid of lobby, the timeblock, and how often they play that timeblock there would be a possibilty of multiple time blocks(example is every weekend and every other thursday) so cant have lobby.uid unique ;-;
to clarify on how this schema stores time: a lobby wants to play 2-5pm monday and 8-12pm saturday every other week they would have 2 entries on lobbytime and they would look like this: lobbyid,2-5pm startdate, weekly lobbyid,2-5pm startdate, every 2 weeks something along those lines
also someone please double check my work on the db
SQLite database should store:
Tasks: