MVP #141

Merged
flixcoo merged 705 commits from development into main 2026-01-09 12:55:50 +00:00
2 changed files with 2 additions and 0 deletions
Showing only changes of commit f7073a83a4 - Show all commits

View File

@@ -46,6 +46,7 @@ class PlayerGameDao extends DatabaseAccessor<AppDatabase>
}) async { }) async {
await into(playerGameTable).insert( await into(playerGameTable).insert(
PlayerGameTableCompanion.insert(playerId: playerId, gameId: gameId), PlayerGameTableCompanion.insert(playerId: playerId, gameId: gameId),
mode: InsertMode.insertOrReplace,
); );
} }
} }

View File

@@ -56,6 +56,7 @@ class PlayerGroupDao extends DatabaseAccessor<AppDatabase>
await into(playerGroupTable).insert( await into(playerGroupTable).insert(
PlayerGroupTableCompanion.insert(playerId: player.id, groupId: groupId), PlayerGroupTableCompanion.insert(playerId: player.id, groupId: groupId),
mode: InsertMode.insertOrReplace,
); );
return true; return true;