feat: impl. use of new tables

This commit is contained in:
2025-01-06 15:47:53 +01:00
parent c2e0fe94a4
commit e43cb76e4d
8 changed files with 103 additions and 38 deletions

View File

@ -27,8 +27,8 @@ WifiLocationHistory.init(
allowNull: false,
},
longitude: {
type: DataTypes.NUMBER,
allowNull: false,
type: DataTypes.NUMBER,
allowNull: false,
},
created_at_utc: {
type: DataTypes.DATE,
@ -43,8 +43,8 @@ WifiLocationHistory.init(
},
{
sequelize,
modelName: "WifiLocation",
tableName: "wifi_location",
modelName: "WifiLocationHistory",
tableName: "wifi_location_history",
timestamps: false,
}
);