d8b722820d710801f5540af9872f45111ee36be3
Migration 0026 rebuilds the activities table to enforce UNIQUE(user_id, garmin_activity_id) as the composite primary constraint, removing the old global UNIQUE(garmin_activity_id) constraint from migration 0001. This allows the same Garmin activity ID to appear for different users without conflicts, which is essential for the per-user profile design and enables the TestUpsertActivity_SameGarminActivityIDAllowedAcrossDifferentUsers test to pass.
Description
No description provided
Languages
Go
72.8%
TypeScript
20.3%
Python
4.7%
CSS
2.1%