mirror of
https://github.com/wger-project/flutter.git
synced 2026-11-28 17:08:29 +01:00
Server allows workout logs without a routine (free/ad-hoc logging), but the app's Drift table declared routineId as non-nullable. This caused a null check operator crash when PowerSync delivered a row with routine_id = NULL. Changes: - WorkoutLogTable.routineId: integer() → integer().nullable() - Log.routineId: late int → int? - Log constructor: required this.routineId → this.routineId - Log.toCompanion: handle null routineId with Value.absent() Fixes #1250