fix(places): keep the places repository at its size baseline

The insert's note now says that a longitude is stored on the real world, in
one line fewer.
This commit is contained in:
Maurice
2026-11-04 12:09:29 +01:00
parent 178df0fbe3
commit 74864f2543
2 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{
"scripts/db-call-graph.mjs": 1036,
"scripts/generate-entities.ts": 2259,
"src/db/repositories/Places.repository.ts": 1438,
"src/db/repositories/Places.repository.ts": 1437,
"src/db/repositories/Reservations.repository.ts": 1604,
"src/db/repositories/Trips.repository.ts": 1121,
"src/db/repositories/Users.repository.ts": 1445,
@@ -348,10 +348,8 @@ export class PlacesRepository extends TrekRepository<Places> {
* builds. Every value here is already fully coerced by the caller (the
* `?? null` vs `|| null` split PL4's own legacy comment documents — 0 is
* legitimate for `lat`/`lng`/`price`/`fill_percent`, and
* `duration_minutes` defaults to 60 — stays the service's decision, this
* writes exactly what it is handed, `DaysRepository.createDay`'s split).
* `em.insert()` returns the generated PK (R6's `lastInsertRowid`
* replacement).
* `duration_minutes` defaults to 60 — stays the service's decision), but
* `lng` is stored on the real world (#2976). Returns the generated PK.
*/
async insertPlace(input: {
trip_id: number;