change entity numeric types
This commit is contained in:
parent
ded3f0fd83
commit
a9aaf45bf3
@ -8,40 +8,40 @@ export class WeatherEntity {
|
|||||||
@Column({ type: Date })
|
@Column({ type: Date })
|
||||||
date: Date;
|
date: Date;
|
||||||
|
|
||||||
@Column({ nullable: true })
|
@Column({ nullable: true, type: 'decimal', precision: 6, scale: 2 })
|
||||||
indoorHumidity: number;
|
indoorHumidity: number;
|
||||||
|
|
||||||
@Column({ nullable: true })
|
@Column({ nullable: true, type: 'decimal', precision: 6, scale: 2 })
|
||||||
outdoorHumidity: number;
|
outdoorHumidity: number;
|
||||||
|
|
||||||
@Column({ nullable: true })
|
@Column({ nullable: true, type: 'decimal', precision: 6, scale: 2 })
|
||||||
indoorTemperature: number;
|
indoorTemperature: number;
|
||||||
|
|
||||||
@Column({ nullable: true })
|
@Column({ nullable: true, type: 'decimal', precision: 6, scale: 2 })
|
||||||
outdoorTemperature: number;
|
outdoorTemperature: number;
|
||||||
|
|
||||||
@Column({ nullable: true })
|
@Column({ nullable: true, type: 'decimal', precision: 6, scale: 2 })
|
||||||
outdoorDewPoint: number;
|
outdoorDewPoint: number;
|
||||||
|
|
||||||
@Column({ nullable: true })
|
@Column({ nullable: true, type: 'decimal', precision: 6, scale: 2 })
|
||||||
windChillTemp: number;
|
windChillTemp: number;
|
||||||
|
|
||||||
@Column({ nullable: true })
|
@Column({ nullable: true, type: 'decimal', precision: 6, scale: 2 })
|
||||||
windSpeed: number;
|
windSpeed: number;
|
||||||
|
|
||||||
@Column({ nullable: true })
|
@Column({ nullable: true, type: 'decimal', precision: 6, scale: 2 })
|
||||||
gustSpeed: number;
|
gustSpeed: number;
|
||||||
|
|
||||||
@Column({ nullable: true })
|
@Column({ nullable: true })
|
||||||
windDirection: string;
|
windDirection: string;
|
||||||
|
|
||||||
@Column({ nullable: true })
|
@Column({ nullable: true, type: 'decimal', precision: 6, scale: 2 })
|
||||||
rainDiff: number;
|
rainDiff: number;
|
||||||
|
|
||||||
@Column({ nullable: true })
|
@Column({ nullable: true, type: 'decimal', precision: 6, scale: 2 })
|
||||||
totalRain: number;
|
totalRain: number;
|
||||||
|
|
||||||
@Column({ nullable: true })
|
@Column({ nullable: true, type: 'decimal', precision: 6, scale: 2 })
|
||||||
absPressure: number;
|
absPressure: number;
|
||||||
|
|
||||||
fresh?: boolean;
|
fresh?: boolean;
|
||||||
|
Loading…
Reference in New Issue
Block a user