aerich icon indicating copy to clipboard operation
aerich copied to clipboard

If model's pk is a CharField,would got an error:'CharField' object has no attribute 'db_constraint'

Open Chise1 opened this issue 5 years ago • 0 comments

The db can be init,but if I try to migrate ,I would got an error:

AttributeError: 'CharField' object has no attribute 'db_constraint'

Chise1 avatar Feb 04 '21 05:02 Chise1