Hi, i have database legacy and my table have 1 column name "date" is varchar all data corrrect store like that 2013-01-01
but a would like convert this varchar to date
date=models.CharField(max_length, null=True, blank=True)
chage this
date = models.DateField(null=True, blank=True)
when i apply the schema migration all ok
python manage.py schemamigration appname --auto
OK
but when apply migration this error:
django.db.utils.ProgrammingError: column "date" can not be cast automatically to the type date
HINT: Specify a USING expression to perform the conversion.
Cheers