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

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