From bd28912b971b58ac116b162ffdaecb79b88f46b3 Mon Sep 17 00:00:00 2001 From: mathiskirchner Date: Sat, 28 Jun 2025 14:42:26 +0200 Subject: [PATCH] removed option for Match.groupId to be nullable --- lib/data/tables/match_table.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/data/tables/match_table.dart b/lib/data/tables/match_table.dart index ec39e79..0cd2e30 100644 --- a/lib/data/tables/match_table.dart +++ b/lib/data/tables/match_table.dart @@ -5,7 +5,7 @@ import 'group_table.dart'; class MatchTable extends Table { TextColumn get id => text()(); IntColumn get gameId => integer().references(GameTable, #id)(); - TextColumn get groupId => text().nullable().references(GroupTable, #id)(); + TextColumn get groupId => text().references(GroupTable, #id)(); DateTimeColumn get createdAt => dateTime()(); @override