Added methods for inserting games and groups into the db
This commit is contained in:
@@ -3,6 +3,7 @@ import 'package:drift/drift.dart';
|
||||
class GameTable extends Table {
|
||||
TextColumn get id => text()();
|
||||
TextColumn get name => text()();
|
||||
// todo: winner id needs to be deleted when corresponding player gets deleted
|
||||
TextColumn get winnerId => text().nullable()();
|
||||
|
||||
@override
|
||||
|
||||
Reference in New Issue
Block a user