add soft delete parameter

This commit is contained in:
gelbeinhalb
2026-04-19 12:39:14 +02:00
parent 36fda30f27
commit 8bd53a69c3
8 changed files with 8 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ class PlayerGroupTable extends Table {
text().references(PlayerTable, #id, onDelete: KeyAction.cascade)();
TextColumn get groupId =>
text().references(GroupTable, #id, onDelete: KeyAction.cascade)();
BoolColumn get deleted => boolean().withDefault(const Constant(false))();
@override
Set<Column<Object>> get primaryKey => {playerId, groupId};