MySQL error code
MySQL error 3820
MySQL server error 3820 is ER_CHECK_CONSTRAINT_REFERS_UNKNOWN_COLUMN, reported with SQLSTATE HY000.
Check constraint '%s' refers to non-existing column '%s'.
| Error | 3820 |
|---|---|
| Name | ER_CHECK_CONSTRAINT_REFERS_UNKNOWN_COLUMN |
| SQLSTATE | HY000 |
| Group | Server errors |
Source: MySQL 8.4 Error Reference