0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-04-15 03:11:28 -05:00
immich/mobile/build.yaml
shenlong 5a456ef277
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>
2025-04-02 08:58:17 -05:00

24 lines
No EOL
850 B
YAML

targets:
$default:
builders:
#drift @DriftDatabase()
drift_dev:
# Disable default builder to use modular builder instead
enabled: false
drift_dev:analyzer:
enabled: true
options: &drift_options
store_date_time_values_as_text: true
named_parameters: true
write_from_json_string_constructor: false
data_class_to_companions: false
# Required for make-migrations
databases:
main: lib/infrastructure/repositories/db.repository.dart
generate_for: &drift_generate_for
- lib/infrastructure/entities/*.dart
- lib/infrastructure/repositories/db.repository.dart
drift_dev:modular:
enabled: true
options: *drift_options
generate_for: *drift_generate_for