aerich icon indicating copy to clipboard operation
aerich copied to clipboard

aerich try to Rename field. I am just goint to add a new field

Open vadim-shadrin opened this issue 3 years ago • 3 comments

I have the model

class Image(TimestampedMixin, Model):
    id = fields.IntField(pk=True)
    width = fields.IntField()
    height = fields.IntField()
    file = fields.CharField(max_length=64, validators=[TextLengthValidator('file', 1, 255)])

But when I add a new field
test = fields.CharField(max_length=64) Aerich ask question: Rename file to test? [True]:

Why? How to add field in existing model?

vadim-shadrin avatar Apr 02 '21 03:04 vadim-shadrin

What's the version?

long2ice avatar Apr 02 '21 03:04 long2ice

What's the version?

aerich==0.5.0

vadim-shadrin avatar Apr 02 '21 04:04 vadim-shadrin

Try latest

long2ice avatar Apr 02 '21 06:04 long2ice