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
@@ -81,7 +81,7 @@ class Messages extends Table {
'NULLABLE REFERENCES channels(cid) ON DELETE CASCADE')();
/// Message custom extraData
TextColumn get extraData => text().nullable().map(MapConverter<Object>())();
TextColumn get extraData => text().nullable().map(MapConverter<Object?>())();
@override
Set<Column> get primaryKey => {id};