﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
31064	Migration doesn't detect precision changes in fields that ManyToMany points to.	zapililirad	Simon Charette	"In my case was:

models.py:
{{{
class Vulnerability(models.Model):
    cve_id = models.CharField(max_length=15, primary_key=True)
    app = models.ManyToManyField(AppVersion)

    class Meta:
        managed = True
}}}

Later, i changed cve_id max_length to 100 and did migration:

{{{
operations = [
        migrations.AlterField(
            model_name='vulnerability',
            name='cve_id',
            field=models.CharField(max_length=100, primary_key=True, serialize=False),
        ),
    ]
}}}

In result:
cve_id field length was changed, but vulnerability_id field length in table vulnerability_app remain unchanged

"	Bug	closed	Migrations	dev	Normal	fixed		Simon Charette	Ready for checkin	1	0	0	0	0	0
