geopaparazzi/geopaparazzi — pull request #103 by mj10777 (2014-01-07 06:51:30+00:00)
Title: added logic to update name field of dataproperties when needed.

This could resolve the automatic updating of the name field when needed.
* this has been tested and works

Logic was build in to create a copy of dataproperties ( `dataproperties_save`)
* when the column_count is different than the static column_count
* a new dataproperties will be created with default values
* old values will be updated to the new values
* here I forgot the 'DROP' statement to the dataproperties_save after the UPDATE
* this portion has ***NOT*** been tested

***TODO***:
* check if the any of the old fields have been renamed or deleted
* otherwise the UPDATE will fail
* 'DROP' statement to the `dataproperties_save` table after the UPDATE

I assume when support for Geometry Labels are build in
* `dataproperties' will receive 2 new Fields
* this could then be tested