From 944ab3d29a242c322b923284fa16dc4d574fb53f Mon Sep 17 00:00:00 2001 From: Isaias Tavares Date: Thu, 5 Nov 2026 01:15:21 -0300 Subject: [PATCH] docs(db): drop a historical note from the reservation join row docstring "unchanged from the legacy split" describes how the code got here rather than what it does, and the fold it names is stated in the same sentence. --- server/src/db/repositories/reservation-rows.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/db/repositories/reservation-rows.ts b/server/src/db/repositories/reservation-rows.ts index fb153f673..908549175 100644 --- a/server/src/db/repositories/reservation-rows.ts +++ b/server/src/db/repositories/reservation-rows.ts @@ -46,7 +46,7 @@ export interface ReservationAllColumnsRow { * r.place_id = p.id LEFT JOIN day_accommodations ap ON r.accommodation_id = * ap.id LEFT JOIN places acc_p ON ap.place_id = acc_p.id`. The service * folds `accommodation_id` (`Math.trunc(Number(x))`), `day_positions`, - * `endpoints` and `travelers` on afterward (unchanged from the legacy split). + * `endpoints` and `travelers` on afterward. */ export interface ReservationJoinRow extends ReservationAllColumnsRow { day_number: number | null;