Opened 5 years ago

Closed 5 years ago

#30970 closed Cleanup/optimization (duplicate)

Waiting for enhancement in "inspectdb" command.

Reported by: John Kassaki Owned by: nobody
Component: Database layer (models, ORM) Version: dev
Severity: Normal Keywords: inspectdb
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Here is the screen-shot of one of my table's schema:https://ibb.co/K7PXtQ8
I think many info wasn't extracted when generating Models by using "inspectdb" CLI, especially default value and comment(can be generated as "help text"). I hope this can be added in the next version.
By the way, if unique keys can be read from tables, that will be awesome.

Attachments (1)

sp20191110_141841_756.png (28.6 KB ) - added by John Kassaki 5 years ago.
Screenshot of table

Download all attachments as: .zip

Change History (2)

by John Kassaki, 5 years ago

Attachment: sp20191110_141841_756.png added

Screenshot of table

comment:1 by Mariusz Felisiak, 5 years ago

Resolution: duplicate
Status: newclosed
Summary: Waiting for enhancement in "inspectdb" commandWaiting for enhancement in "inspectdb" command.
Version: master

Django doesn't support comments on tables and columns (#18468) and database defaults (#470), hence I'm closing this as a duplicate of these two tickets.

Note: See TracTickets for help on using tickets.
Back to Top