mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-08 23:18:16 -07:00
Small improvements
This commit is contained in:
parent
86ff355e21
commit
b17a74bb23
10 changed files with 81 additions and 20 deletions
|
|
@ -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])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue