mirror of
https://github.com/immich-app/immich.git
synced 2025-06-27 21:40:03 +02:00
feat(mobile): sqlite (#16861)
* refactor: user entity * chore: rebase fixes * refactor: remove int user Id * refactor: migrate store userId from int to string * refactor: rename uid to id * feat: drift * pr feedback * refactor: move common overrides to mixin --------- Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
parent
5cb5fcbf62
commit
5a456ef277
23 changed files with 2123 additions and 30 deletions
mobile/lib/infrastructure/utils
9
mobile/lib/infrastructure/utils/drift_default.mixin.dart
Normal file
9
mobile/lib/infrastructure/utils/drift_default.mixin.dart
Normal file
|
@ -0,0 +1,9 @@
|
|||
import 'package:drift/drift.dart';
|
||||
|
||||
mixin DriftDefaultsMixin on Table {
|
||||
@override
|
||||
bool get isStrict => true;
|
||||
|
||||
@override
|
||||
bool get withoutRowId => true;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue