Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#14666 closed (wontfix)

Ability to control the order the column in Models when mapping to the sql

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


Suppose I have a base entity which derives all my subclasses, I want to put all columns from the base entity after the columns of the subclass when generate the SQL. But it seems that there is no way to do it.

Change History (2)

comment:1 Changed 7 years ago by Thomas Ashelford

Component: UncategorizedDatabase layer (models, ORM)
Resolution: wontfix
Status: newclosed

It would be helpful to provide more context for this ticket. You don't say why controlling the order of columns in generated SQL might be desirable. Also, if there is an edge case where this is desirable, could it be handled by dropping into raw SQL (

comment:2 Changed 7 years ago by Thomas Ashelford

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