Ticket #88 (new enhancement)
enhancements ideas for mapbender_setup
| Reported by: | Marko | Owned by: | mapbender_dev@… |
|---|---|---|---|
| Priority: | trivial | Milestone: | 3.0 release |
| Component: | installation | Version: | 2.4.2 |
| Keywords: | setup | Cc: |
Description
-For the current mapbender_setup and the further development, it would be nice to have a version number at one central point, like the mapbender.conf.
like:
#--------------------
#Mapbender Version
#--------------------
define("MB_VERSION", "2.5.0");
-The future mapbender-setup update function should get the required database changes from a historized database-changes file (txt,xml,json ...whatever?!) to update and the installed Mapbender
Algorithm Idea:
current version 2.4.0<->new version 2.5.0
=> create an update script from version 2.4.1 up to 2.5.0 from database-changes file ......
database-changes file structure:
<version>2.4.1</version>
<change>CREATE TABLE layer_epsg_tmp AS SELECT DISTINCT * FROM layer_epsg;</change>......
<version>2.5.0</version>
<change>ALTER TABLE wfs_conf_element ADD COLUMN f_auth_varname VARCHAR(50);</change>......
