#30346: InspectDB doesn't test for UUID (at least) on PostgreSQL
-------------------------------------+-------------------------------------
Reporter: | Owner: nobody
guipedreira |
Type: Bug | Status: new
Component: Database | Version: 2.2
layer (models, ORM) | Keywords: inspectdb,
Severity: Normal | postgresql, uuid
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-------------------------------------+-------------------------------------
I was trying to do some reverse stuff...
Importing models from a "Legacy" Database,
as it turns out, inspectdb doesn't seem to go nicely with UUIDs,
At least on PostgreSQL.
{{{
\d resource
------------+--------------------------+-----------+----------+---------
id | uuid | | not null |
name | character varying(255) | | not null |
code | character varying(255) | | not null |
}}}
I've tried adding djago.contrib.postgres to installed apps, without luck.
Am I missing something? Already tried --include-views and --include-
partitions too.
--
Ticket URL: <https://code.djangoproject.com/ticket/30346>
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.083b70e2885d981d5361a9874492d608%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.