Opened 11 years ago

Closed 10 years ago

Last modified 10 years ago

#981 closed enhancement (fixed)

SQL insert files located in every app should be documented

Reported by: GomoX Owned by: jacob
Component: Documentation Version:
Severity: normal Keywords:
Cc: gomo@… Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


On install [app], the file [app]/sql/[modelname].sql gets piped to the database if it exists. This is useful for regenerating test data when developing new applications where the DB must be smashed repeatedly. I think it should be documented somewhere in docs/model_api or at least in the FAQ.

Change History (4)

comment:1 Changed 11 years ago by anonymous

  • Cc gomo@… added

comment:2 Changed 10 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from new to closed

(In [2942]) Fixed #981 -- documented the SQL initial data insert files.

comment:3 Changed 10 years ago by ramiro

  • Resolution fixed deleted
  • Status changed from closed to reopened
  • Type changed from defect to enhancement

It should be also documented that users can get database engine-specific
initial SQL data/statements to be loaded/executed at this stage, see

Also, maybe a note about the fact that there is no specific guaranteed order
of execution for those files could be added, see


comment:4 Changed 10 years ago by adrian

  • Resolution set to fixed
  • Status changed from reopened to closed

Fixed in [2953].

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