Small improvements

This commit is contained in:
PartyDonut 2025-07-27 11:47:31 +02:00
parent 86ff355e21
commit b17a74bb23
10 changed files with 81 additions and 20 deletions

View file

@ -35,7 +35,7 @@ class DatabaseItems extends Table {
TextColumn get userData => text().nullable()();
@override
Set<Column<Object>> get primaryKey => {id};
Set<Column<Object>> get primaryKey => {id, userId};
}
@DriftDatabase(tables: [DatabaseItems])