[StreamChatPersistence] Fix connectionEventEntity, MessageDao
Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
@@ -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()();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user