#23679: varchar(255) converted into varchar(255) NOT NULL after inspectdb
followed
by migrate
--------------------------------------------+--------------------
Reporter: paulcdejean | Owner: nobody
Type: Uncategorized | Status: new
Component: Core (Management commands) | Version: 1.7
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------------+--------------------
show create table on the original database yields:
`device_mac_ethernet` varchar(255) DEFAULT NULL
inspectdb convert this into:
models.CharField(max_length=255, blank=True)
makemigrations followed by migrate converts that into:
`device_mac_ethernet` varchar(255) NOT NULL
--
Ticket URL: <https://code.djangoproject.com/ticket/23679>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/054.98897dd032e7e0bc09889f3785ac1567%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.