NinjaForge/Ninja-Framework — Issue #2: Add column fixer helpers
Author: stipsan
Created: 2011-12-21 10:58:32+00:00
State: open

add some functions to the install helper:

- addColumn( table, column, column details ) - check for the existence of a column in a table, and if it is not present, add it.
- removeColumn (table, column) - if a column exists in a table, remove it
- backupTable(table, remove original) - make a backup of a table (usually for importing between versions)

The first two are often done, so a helper will save us a few lines of code, and the third is not common, but will be common as we convert things to Koowa.