Fix Hive typeId conflict between Scripture and TeachingPlan
This commit is contained in:
@@ -3,7 +3,7 @@ import 'package:uuid/uuid.dart';
|
||||
|
||||
part 'teaching_plan.g.dart';
|
||||
|
||||
@HiveType(typeId: 10)
|
||||
@HiveType(typeId: 14)
|
||||
class TeachingPlan {
|
||||
@HiveField(0)
|
||||
final String id;
|
||||
|
||||
@@ -8,7 +8,7 @@ part of 'teaching_plan.dart';
|
||||
|
||||
class TeachingPlanAdapter extends TypeAdapter<TeachingPlan> {
|
||||
@override
|
||||
final int typeId = 10;
|
||||
final int typeId = 14;
|
||||
|
||||
@override
|
||||
TeachingPlan read(BinaryReader reader) {
|
||||
|
||||
Reference in New Issue
Block a user