mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-20 11:06:06 +00:00
e82968d66c
The TEXT-against-INTEGER join between reservations.accommodation_id and day_accommodations.id was spelled out eight times across Reservations and DayAccommodations, each with its own cast and comment. accommodationIdMatches in _shared/ is the one place that spells it, and it documents why the cast is there: SQLite coerces the bare comparison and Postgres refuses it. The call sites now read as what they test. The SQL is unchanged. The size baseline is lowered to the new line counts.
21 lines
892 B
JSON
21 lines
892 B
JSON
{
|
|
"scripts/db-call-graph.mjs": 1036,
|
|
"scripts/generate-entities.ts": 2259,
|
|
"src/db/repositories/Places.repository.ts": 1435,
|
|
"src/db/repositories/Reservations.repository.ts": 1551,
|
|
"src/db/repositories/Trips.repository.ts": 1121,
|
|
"src/db/repositories/Users.repository.ts": 1445,
|
|
"src/nest/atlas/atlas.service.ts": 1177,
|
|
"src/nest/auth/auth.service.ts": 1143,
|
|
"src/nest/budget/budget.service.ts": 1612,
|
|
"src/nest/collections/collections.service.ts": 1426,
|
|
"src/nest/doc-sync/doc-sync.service.ts": 1060,
|
|
"src/nest/doc-sync/providers/synology-drive.client.ts": 1160,
|
|
"src/nest/journey/journey-domain.service.ts": 1659,
|
|
"src/nest/places/places.service.ts": 1546,
|
|
"src/nest/plugins/plugin-runtime.service.ts": 1460,
|
|
"src/nest/plugins/runtime/plugin-sdk.ts": 1093,
|
|
"src/nest/reservations/reservations.service.ts": 1237,
|
|
"src/nest/vacay/vacay.service.ts": 1409
|
|
}
|