use Map<String, Object?> for extradata in persistence

This commit is contained in:
Salvatore Giordano
2021-05-14 11:28:32 +02:00
parent 0ab428ce2e
commit a46186e6a7
5 changed files with 63 additions and 65 deletions
@@ -27,7 +27,7 @@ class Users extends Table {
BoolColumn get banned => boolean().withDefault(const Constant(false))();
/// Map of custom user extraData
TextColumn get extraData => text().map(MapConverter<Object>())();
TextColumn get extraData => text().map(MapConverter<Object?>())();
@override
Set<Column> get primaryKey => {id};