diff --git a/server/src/models/location.ts b/server/src/models/location.ts index 86e8d21..c4b5dff 100644 --- a/server/src/models/location.ts +++ b/server/src/models/location.ts @@ -42,6 +42,9 @@ Location.init( ttn_gw_longitude: { type: DataTypes.NUMBER, }, + gnss_location_at_utc: { + type: DataTypes.DATE, + }, created_at_utc: { type: DataTypes.DATE, defaultValue: DataTypes.NOW, diff --git a/server/src/models/wifiScan.ts b/server/src/models/wifiScan.ts index 1f277b0..54493d5 100644 --- a/server/src/models/wifiScan.ts +++ b/server/src/models/wifiScan.ts @@ -30,6 +30,9 @@ WifiScan.init( type: DataTypes.NUMBER, allowNull: false, }, + scanned_at_utc: { + type: DataTypes.DATE, + }, created_at_utc: { type: DataTypes.DATE, defaultValue: DataTypes.NOW,