Files
lingniu-vehicle-ingest/vehicle-data-platform/deploy/migrations/052_customer_hydrogen_jobs.sql
T
lingniu d6b957dfc8 feat: sync vehicle monitoring and accumulated platform updates
Add monitoring metrics, numeric sorting, report-time display, vehicle number labels, and map layout fixes. Include accumulated mileage, hydrogen, OneOS authentication, open platform, ingestion, deployment, and UI updates.

Exclude temporary files, generated reports, and credentials. Validate frontend 632 tests and production build, API packages, vehicle-map tests, and release installer tests. Gateway suite has one pre-existing date-sensitive identity throttling test failure reproduced on the parent commit.
2026-10-26 18:05:59 +08:00

12 lines
473 B
SQL

CREATE TABLE IF NOT EXISTS platform_customer_hydrogen_job (
stat_date DATE NOT NULL PRIMARY KEY,
status VARCHAR(20) NOT NULL DEFAULT 'pending',
requested_at DATETIME(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3),
started_at DATETIME(3) NULL,
completed_at DATETIME(3) NULL,
lease_until DATETIME(3) NULL,
lease_owner VARCHAR(64) NOT NULL DEFAULT '',
attempts INT NOT NULL DEFAULT 0,
error_message VARCHAR(500) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;