From ccfea71a35c50aa8cfd8f87a1c6f0e800a05c8b4 Mon Sep 17 00:00:00 2001 From: gelbeinhalb Date: Sun, 1 Feb 2026 17:56:24 +0100 Subject: [PATCH] reduce line length --- lib/data/db/tables/match_table.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/data/db/tables/match_table.dart b/lib/data/db/tables/match_table.dart index 83b6897..9ed27b7 100644 --- a/lib/data/db/tables/match_table.dart +++ b/lib/data/db/tables/match_table.dart @@ -6,8 +6,9 @@ class MatchTable extends Table { TextColumn get id => text()(); TextColumn get gameId => text().references(GameTable, #id, onDelete: KeyAction.cascade)(); + // Nullable if not part of a group TextColumn get groupId => - text().references(GroupTable, #id, onDelete: KeyAction.cascade).nullable()(); // Nullable if not part of a group + text().references(GroupTable, #id, onDelete: KeyAction.cascade).nullable()(); TextColumn get name => text().nullable()(); TextColumn get notes => text().nullable()(); DateTimeColumn get createdAt => dateTime()();