@@ -15,7 +15,7 @@ class Channels extends Table {
|
||||
TextColumn get cid => text()();
|
||||
|
||||
/// The channel configuration data
|
||||
TextColumn get config => text().map(MapConverter<Object>())();
|
||||
TextColumn get config => text().map(MapConverter())();
|
||||
|
||||
/// True if this channel entity is frozen
|
||||
BoolColumn get frozen => boolean().withDefault(const Constant(false))();
|
||||
|
||||
@@ -9,7 +9,7 @@ class ConnectionEvents extends Table {
|
||||
IntColumn get id => integer()();
|
||||
|
||||
/// User object of the current user
|
||||
TextColumn get ownUser => text().nullable().map(MapConverter<Object>())();
|
||||
TextColumn get ownUser => text().nullable().map(MapConverter())();
|
||||
|
||||
/// The number of unread messages for current user
|
||||
IntColumn get totalUnreadCount => integer().nullable()();
|
||||
|
||||
@@ -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().nullable().map(MapConverter<Object>())();
|
||||
TextColumn get extraData => text().map(MapConverter<Object>())();
|
||||
|
||||
@override
|
||||
Set<Column> get primaryKey => {id};
|
||||
|
||||
Reference in New Issue
Block a user