fix analysis
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
import 'package:moor/moor.dart';
|
||||
import 'package:stream_chat/stream_chat.dart';
|
||||
|
||||
import '../converter/converter.dart';
|
||||
import '../dao/dao.dart';
|
||||
import '../entity/entity.dart';
|
||||
import 'shared/shared_db.dart';
|
||||
import 'package:stream_chat_persistence/src/converter/converter.dart';
|
||||
import 'package:stream_chat_persistence/src/dao/dao.dart';
|
||||
import 'package:stream_chat_persistence/src/db/shared/shared_db.dart';
|
||||
import 'package:stream_chat_persistence/src/entity/entity.dart';
|
||||
|
||||
part 'moor_chat_database.g.dart';
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ class Channels extends Table {
|
||||
TextColumn get config => text().map(MapConverter<Object>())();
|
||||
|
||||
/// True if this channel entity is frozen
|
||||
BoolColumn get frozen => boolean().withDefault(Constant(false))();
|
||||
BoolColumn get frozen => boolean().withDefault(const Constant(false))();
|
||||
|
||||
/// The date of the last message
|
||||
DateTimeColumn get lastMessageAt => dateTime().nullable()();
|
||||
|
||||
Reference in New Issue
Block a user