add wifilocation flags
This commit is contained in:
@ -5,6 +5,8 @@ export class WifiLocation extends Model {
|
||||
public mac!: string;
|
||||
public latitude!: number;
|
||||
public longitude!: number;
|
||||
public request_limit_exceeded!: boolean;
|
||||
public location_not_resolvable!: boolean;
|
||||
public created_at_utc!: Date;
|
||||
public updated_at_utc!: Date;
|
||||
}
|
||||
@ -18,11 +20,17 @@ WifiLocation.init(
|
||||
},
|
||||
latitude: {
|
||||
type: DataTypes.NUMBER,
|
||||
allowNull: false,
|
||||
},
|
||||
longitude: {
|
||||
type: DataTypes.NUMBER,
|
||||
allowNull: false,
|
||||
},
|
||||
request_limit_exceeded: {
|
||||
type: DataTypes.BOOLEAN,
|
||||
defaultValue: false,
|
||||
},
|
||||
location_not_resolvable: {
|
||||
type: DataTypes.BOOLEAN,
|
||||
defaultValue: false,
|
||||
},
|
||||
created_at_utc: {
|
||||
type: DataTypes.DATE,
|
||||
|
Reference in New Issue
Block a user