[StreamChatPersistence] Fix connectionEventEntity, MessageDao

Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
Sahil Kumar
2021-01-26 15:58:11 +05:30
parent 82fee14f68
commit a168d3695d
9 changed files with 35 additions and 34 deletions
@@ -1,10 +1,11 @@
import 'package:moor/moor.dart';
import 'package:stream_chat_persistence/src/converter/map_converter.dart';
@DataClassName('ConnectionEventEntity')
class ConnectionEvents extends Table {
IntColumn get id => integer()();
TextColumn get ownUserId => text().nullable()();
TextColumn get ownUser => text().nullable().map(MapConverter<Object>())();
IntColumn get totalUnreadCount => integer().nullable()();