_mysql.connection.query(self, query) django.db.utils.OperationalError: (1060, "Duplicate column name 'foto'")
The table has a column "foto". This field is unique in all the DB. This table doesn't had alteration. I changed "foto" to "xfoto" and the error persists. I added a new table. Makemigrations run with no error. In localhost there are no error. Thanks.