← All field notes
Duplicate numbers on home tour bookings
- Problem
- Tour bookings shared one counter, and ID sequences could go backward after a data import.
- Fix
- Each day now gets its own counter in the database, and sequences only move forward.
- Stack
- NestJS · PostgreSQL