diff --git a/lib/models/mood.dart b/lib/models/mood.dart index 4914791..5d71e5b 100644 --- a/lib/models/mood.dart +++ b/lib/models/mood.dart @@ -15,9 +15,9 @@ class Mood implements DatabaseRecord { @override Map toMap() { return { - 'moodValue': _moodValue, + 'value': _moodValue, 'comment': _comment, - 'date': _date, + 'date': _date.toIso8601String(), }; } }