Fehlende Methoden für Games Datenbank inplementieren #76

Merged
flixcoo merged 35 commits from feature/74-fehlende-methoden-für-games-datenbank-inplementieren into development 2025-12-05 17:54:13 +00:00
Showing only changes of commit d2d6852f31 - Show all commits

View File

@@ -65,7 +65,6 @@ class GameDao extends DatabaseAccessor<AppDatabase> with _$GameDaoMixin {
/// Adds a new [Game] to the database. /// Adds a new [Game] to the database.
/// Also adds associated players and group if they exist. /// Also adds associated players and group if they exist.
/// If a game, player, or group already exists, it will be replaced.
Future<void> addGame({required Game game}) async { Future<void> addGame({required Game game}) async {
await db.transaction(() async { await db.transaction(() async {
await into(gameTable).insert( await into(gameTable).insert(