Opened 6 years ago

Closed 5 years ago

Last modified 5 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 5 years ago by tttallis

  • Component changed from Uncategorized to Database layer (models, ORM)
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to wontfix
  • Status changed from new to closed

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 5 years ago by tttallis

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