move match below ids
This commit is contained in:
@@ -4,11 +4,11 @@ import 'package:game_tracker/data/db/tables/group_table.dart';
|
|||||||
|
|
||||||
class MatchTable extends Table {
|
class MatchTable extends Table {
|
||||||
TextColumn get id => text()();
|
TextColumn get id => text()();
|
||||||
TextColumn get name => text().nullable()();
|
|
||||||
TextColumn get gameId =>
|
TextColumn get gameId =>
|
||||||
text().references(GameTable, #id, onDelete: KeyAction.cascade)();
|
text().references(GameTable, #id, onDelete: KeyAction.cascade)();
|
||||||
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()(); // Nullable if not part of a group
|
||||||
|
TextColumn get name => text().nullable()();
|
||||||
TextColumn get notes => text().nullable()();
|
TextColumn get notes => text().nullable()();
|
||||||
DateTimeColumn get createdAt => dateTime()();
|
DateTimeColumn get createdAt => dateTime()();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user