Add timestamps of locations providers #18

Merged
localhorst merged 9 commits from feat/timestamps into main 2025-02-14 21:22:58 +01:00
2 changed files with 6 additions and 0 deletions
Showing only changes of commit 452589d11d - Show all commits
+3
View File
@@ -42,6 +42,9 @@ Location.init(
ttn_gw_longitude: { ttn_gw_longitude: {
type: DataTypes.NUMBER, type: DataTypes.NUMBER,
}, },
gnss_location_at_utc: {
type: DataTypes.DATE,
},
created_at_utc: { created_at_utc: {
type: DataTypes.DATE, type: DataTypes.DATE,
defaultValue: DataTypes.NOW, defaultValue: DataTypes.NOW,
+3
View File
@@ -30,6 +30,9 @@ WifiScan.init(
type: DataTypes.NUMBER, type: DataTypes.NUMBER,
allowNull: false, allowNull: false,
}, },
scanned_at_utc: {
type: DataTypes.DATE,
},
created_at_utc: { created_at_utc: {
type: DataTypes.DATE, type: DataTypes.DATE,
defaultValue: DataTypes.NOW, defaultValue: DataTypes.NOW,