Neue Datenbank Struktur #156

Merged
flixcoo merged 94 commits from feature/88-neue-datenbank-struktur into development 2026-03-04 19:02:03 +00:00
Showing only changes of commit 8e4cff19d1 - Show all commits

View File

@@ -6,7 +6,7 @@ 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
// Nullable if there is no group associated with the match
gelbeinhalb marked this conversation as resolved Outdated

Kommentar mach keinen Sinn, sollte eher heißen Nullable if not group takes part in the match o.ä.

Kommentar mach keinen Sinn, sollte eher heißen `Nullable if not group takes part in the match` o.ä.
TextColumn get groupId =>
gelbeinhalb marked this conversation as resolved
Review

Kommentar drüber setzten, damit die Zeile nicht so lang ist

Kommentar drüber setzten, damit die Zeile nicht so lang ist
text().references(GroupTable, #id, onDelete: KeyAction.cascade).nullable()();
gelbeinhalb marked this conversation as resolved Outdated

Name ist sollte nicht nullable sein, der wird im Frontend doch gesetzt wenn man keinen eigenen eingibt

Name ist sollte nicht nullable sein, der wird im Frontend doch gesetzt wenn man keinen eigenen eingibt
TextColumn get name => text().nullable()();
gelbeinhalb marked this conversation as resolved Outdated

Hier auch nicht nullable, sondern empty string

Hier auch nicht nullable, sondern empty string