Error code

MySQL 1054

MYSQL1054
Database Error Code· An error code returned by a database server such as PostgreSQL or MySQL.

What it means

Unknown column — the column name is not defined on the table.

How to fix it

  1. Confirm the column name with DESCRIBE <table>.
  2. Run the migration or ALTER TABLE ... ADD COLUMN statement that was missed.
  3. Update the query to match the actual column name.

Not affiliated with MySQL. Answer summarized from the manufacturer's manual linked above; consult that source for the authoritative procedure.