reduce line length

This commit is contained in:
gelbeinhalb
2026-02-01 17:56:24 +01:00
parent 415cae18cd
commit ccfea71a35

View File

@@ -6,8 +6,9 @@ class MatchTable extends Table {
TextColumn get id => text()(); TextColumn get id => text()();
TextColumn get gameId => TextColumn get gameId =>
text().references(GameTable, #id, onDelete: KeyAction.cascade)(); text().references(GameTable, #id, onDelete: KeyAction.cascade)();
// Nullable if not part of a group
TextColumn get groupId => 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 name => text().nullable()();
TextColumn get notes => text().nullable()(); TextColumn get notes => text().nullable()();
DateTimeColumn get createdAt => dateTime()(); DateTimeColumn get createdAt => dateTime()();