Commit 054fa6c
committed
fix(app_database): clear drift codegen warnings
- bump drift/drift_dev floor to ^2.32.1 (resolves the references() "simple
class name" false positive seen on drift_dev 2.31.0 + analyzer 10.2.0;
fixed upstream in drift_dev 2.32.1). Now resolves drift 2.33.0 and
sqlparser 0.44.4.
- add the referenced-table imports so drift can resolve the customConstraint
foreign keys in contact_emails and favorites (matches contact_phones).
- drop the redundant UNIQUE on cdrs.call_id (it is already the primary key)
and recreate the table via schema migration v23, with data-integrity tests.
Codegen now runs with 0 warnings, analyze is clean, and migration tests pass.1 parent baef4cc commit 054fa6c
15 files changed
Lines changed: 11717 additions & 713 deletions
File tree
- packages/data/app_database
- lib/src
- daos
- drift_schemas
- migrations
- generated
- tables
- test
Lines changed: 4913 additions & 687 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments