feat: impl. use of new tables
This commit is contained in:
@ -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,
|
||||
}
|
||||
);
|
||||
|
Reference in New Issue
Block a user