Opened 15 years ago

Closed 14 years ago

Last modified 14 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: no UI/UX: no


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 15 years ago by anonymous

Cc: gomo@… added

comment:2 Changed 14 years ago by Malcolm Tredinnick

Resolution: fixed
Status: newclosed

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

comment:3 Changed 14 years ago by Ramiro Morales

Resolution: fixed
Status: closedreopened
Type: defectenhancement

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 14 years ago by Adrian Holovaty

Resolution: fixed
Status: reopenedclosed

Fixed in [2953].

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