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

@@ -8,6 +8,7 @@ class GameTable extends Table {
TextColumn get color => text()();
TextColumn get icon => text()();
DateTimeColumn get createdAt => dateTime()();
BoolColumn get deleted => boolean().withDefault(const Constant(false))();
@override
Set<Column<Object>> get primaryKey => {id};