Opened a bug here: https://code.djangoproject.com/ticket/28298 and have a
working patch here: https://github.com/django/django/pull/8628
--
You received this message because you are subscribed to the Google Groups
"Django developers (Contributions to Django itself)" group.
To unsubscribe from
Yes, it looks like a bug.
The incorrect SQL is added here:
https://github.com/django/django/blob/8149bd00d8b8af816a683e5ecc0e204f344616f5/django/db/backends/base/schema.py#L745-L749
On Wednesday, May 31, 2017 at 1:34:07 PM UTC-4, drakkan wrote:
>
> Hi,
>
> I have two models like these:
>
> class
Hi,
I have two models like these:
class Allarme(models.Model):
class Registrazione(models.Model):
allarme = models.ForeignKey(Allarme, blank=True, null=True,
on_delete=models.DO_NOTHING, db_constraint=False)
now I want to change id field for these models from int to big