Commit a54ab8d
authored
feat(cat-voices): database migration (#3585)
* docs: capture initial times
* chore: remove cacheDocument
* turn off logging
* chore: use debugPrint instead of logger
* feat: bulk documents save
* batching sync
* chore: move exact ref resoling to getDocumentData instead of index
* fix: DocumentRepository
* chore: simplify getting documents data
* remove getAllDocumentsRefs and getCachedDocumentsRefs from DocumentRepository. Index is only available in DocumentDataRemoteSource
* chore: update docs
* simplified document index endpoint
* remove randomness from LocalCatGateway
* indexing by batch size
* wip: filtering by types
* Rework filtering refs + checking all refs if already cached in parallel
* docs
* update indexing.csv
* update indexing csv
* chore: cleanup
* trailing new line
* chore
* move performance tab to docs
* bulk saving typed docs in parallel
* chore: revert hardcoded timestamp
* chore: typos
* split _sync into smaller functions + add documentation
* little refactor
* fix: analyzer
* initial v2 tables
* wip
* wip
* feat: database migration
* chore: cleanup
* bump batch size
* cleanup
* chore: remove defensive content decoding
* spelling
* test on platform
* chore: update build scripts
* more migration test data
* clean up constructors
* cleanup
* fix: template tests
* fix: spelling
* fix code-generator earthly target
* use logger in migration + wrap in transaction
* chore: move migration transaction level higher1 parent f293bd7 commit a54ab8d
File tree
15 files changed
+2251
-10
lines changed- catalyst_voices
- packages/internal/catalyst_voices_repositories
- drift_schemas/catalyst_database
- lib/src/database
- migration
- table
- mixin
- test
- fixture
- src/database/migration/catalyst_database
15 files changed
+2251
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| |||
58 | 60 | | |
59 | 61 | | |
60 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
61 | 68 | | |
62 | 69 | | |
63 | 70 | | |
| |||
0 commit comments