feat(db): add lobbies and lobby_players tables + model
- Add lobbies and lobby_players tables with camelCase TS aliases
- Add LOBBY_STATUSES constant in shared
- Add lobbyModel with atomic addPlayer and transactional finishGame
- Enable Drizzle relational query API via { schema } option
This commit is contained in:
parent
47a68c0315
commit
cf56399a5e
2 changed files with 101 additions and 0 deletions
|
|
@ -1,2 +1,3 @@
|
|||
export * from "./constants.js";
|
||||
export * from "./schemas/game.js";
|
||||
export * from "./schemas/lobby.js";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue