Telemetry Intelligence v2.5: High-performance set-based architecture, grid aggregation, stabilization, and Telegram notifications
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
import { Entity, Column, PrimaryColumn, Index } from 'typeorm';
|
import { Entity, Column, PrimaryColumn, Index } from 'typeorm';
|
||||||
|
|
||||||
@Entity('road_segment_stats')
|
@Entity('road_segment_stats')
|
||||||
|
@Index('idx_segment_congestion', ['congestionFactor'], { where: '"congestionFactor" > 1.1' })
|
||||||
export class RoadSegmentStat {
|
export class RoadSegmentStat {
|
||||||
@PrimaryColumn()
|
@PrimaryColumn()
|
||||||
segmentId: string; // OSM Way ID or similar
|
segmentId: string; // OSM Way ID or similar
|
||||||
|
|||||||
Reference in New Issue
Block a user