mantisbt:db_schema
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
mantisbt:db_schema [2016/01/04 12:39] – [UpdateFunction] added examples dregad | mantisbt:db_schema [2016/01/04 12:53] (current) – [Introduction] added wrap dregad | ||
---|---|---|---|
Line 10: | Line 10: | ||
- An array of **parameters** to be passed to the function. | - An array of **parameters** to be passed to the function. | ||
- | **The integrity of the schema relies on strict ordering of this array.** | + | <WRAP important round> |
+ | **The schema's integrity | ||
* ONLY ADD NEW CHANGES TO THE END OF THE TABLE!!!\\ Always specify the schema step (array key), for documentation purposes | * ONLY ADD NEW CHANGES TO THE END OF THE TABLE!!!\\ Always specify the schema step (array key), for documentation purposes | ||
* NEVER SKIP AN INDEX IN THE SEQUENCE!!! | * NEVER SKIP AN INDEX IN THE SEQUENCE!!! | ||
+ | </ | ||
//Release markers// are placed right AFTER the last schema step that is included in the corresponding release: | //Release markers// are placed right AFTER the last schema step that is included in the corresponding release: | ||
Line 92: | Line 94: | ||
==== null ==== | ==== null ==== | ||
- | No-op upgrade step. | + | No-op upgrade step. The installer will do nothing. |
This is used to skip the step while maintaining the upgrade sequence, e.g. when an operation becomes obsolete or doesn' | This is used to skip the step while maintaining the upgrade sequence, e.g. when an operation becomes obsolete or doesn' | ||
mantisbt/db_schema.1451929175.txt.gz · Last modified: 2016/01/04 12:39 by dregad