So what would you want for existing entries in the table which were added before you changed the model?
If you are ok with them being empty, you should use:
details = models.CharField(max_length=500, default=āā)
And run migrate again.
If you are ok instead of this column being null, then:
details = models.CharField(max_length=500, null=True, blank=True)
I donāt have a huge experience with migrations, so others can correct me if I am wrong, but intuitively I feel that defaults should be captured in code than doing one-off fixes manually while running migrations at the command line.
Thanks,
Ā Sandip