Opened 6 years ago

Closed 6 years ago

#22776 closed New feature (wontfix)

Management command sqlall should support applabel.model syntax

Reported by: jarshwah Owned by: mardini
Component: Core (Management commands) Version: master
Severity: Normal Keywords: sqlall
Cc: loic84 Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


It'd be extremely useful if the sqlall management command was able to produce the sql for a specific model:

./manage sqlall applabel.Model

The above would be particularly useful with ticket #22775 ( --include-unmanaged ), as you'd be able to print out only the SQL required for models not managed by migrations.

Change History (5)

comment:1 Changed 6 years ago by loic84

Cc: loic84 added
Triage Stage: UnreviewedAccepted

comment:2 Changed 6 years ago by mardini

Owner: changed from nobody to mardini
Status: newassigned

comment:3 Changed 6 years ago by mardini

Has patch: set

comment:4 Changed 6 years ago by mardini

Component: Database layer (models, ORM)Core (Management commands)

comment:5 Changed 6 years ago by mardini

Resolution: wontfix
Status: assignedclosed

After a discussion on IRC, Tim suggested closing this ticket and not doing any new work on sql commands, since they will be deprecated according to Andrew:

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