mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2026-02-16 22:39:34 +00:00
hive切换hive_ce
This commit is contained in:
parent
3362a254ff
commit
6efa41e035
30 changed files with 1403 additions and 2566 deletions
10
lib/db/cache/schemas/image.dart
vendored
10
lib/db/cache/schemas/image.dart
vendored
|
|
@ -1,6 +1,4 @@
|
|||
import 'package:isar/isar.dart';
|
||||
|
||||
part 'image.g.dart';
|
||||
// part 'image.g.dart';
|
||||
|
||||
/// Represents a cover image for a library item
|
||||
///
|
||||
|
|
@ -11,10 +9,10 @@ part 'image.g.dart';
|
|||
/// also index the id
|
||||
/// This is because the image is a part of the library item and the library item
|
||||
/// is the parent of the image
|
||||
@Collection(ignore: {'path'})
|
||||
@Name('CacheImage')
|
||||
// @Collection(ignore: {'path'})
|
||||
// @Name('CacheImage')
|
||||
class Image {
|
||||
@Id()
|
||||
// @Id()
|
||||
int id;
|
||||
|
||||
String? thumbnailPath;
|
||||
|
|
|
|||
1009
lib/db/cache/schemas/image.g.dart
vendored
1009
lib/db/cache/schemas/image.g.dart
vendored
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue