fix: aggregated_data model

This commit is contained in:
Toolf
2024-02-16 15:34:20 +02:00
parent b65670861d
commit 93cc8d7378
4 changed files with 14 additions and 2 deletions

View File

@@ -6,4 +6,5 @@ from schema.gps_schema import GpsSchema
class AggregatedDataSchema(Schema):
accelerometer = fields.Nested(AccelerometerSchema)
gps = fields.Nested(GpsSchema)
time = fields.DateTime("iso")
timestamp = fields.DateTime("iso")
user_id = fields.Int()