Errors after running schema:update - foreign key constraint

The database schema is not up to date - ‘not in sync with the current mapping file’.