exem
테이블 (3)
경보 발령 (alert_issue)
- 경보 발령 id (id) — int — 기본 키 — NOT NULL
- 측정소 id (station_id) — int — 외래 키 → 측정소.측정소 id — NOT NULL
- 경보 발령 단계 (issue_level) — ENUM("1","2","3","4")
- 경보 발령 시간 (alert_at) — DATETIME
측정결과 (measurement)
- 측정 id (id) — int — 기본 키 — NOT NULL
- 측정소 id (station_id) — int — 외래 키 → 측정소.측정소 id — NOT NULL
- 측정 시간 (measured_at) — DATETIME
- 미세먼지 농도 (pm10) — int
- 초미세먼지 농도 (pm25) — int
측정소 (station)
- 측정소 id (id) — int — 기본 키 — NOT NULL
- 측정소 이름 (station_name) — varchar(255)