X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/94081b97e54440c0d7b1b5b3f2faf0db4f0c4687..f5a86ad6b1e247ff6bd83d12fb1f4cfdce581192:/dbinstall.php diff --git a/dbinstall.php b/dbinstall.php index 6818e0d3..0d50381d 100644 --- a/dbinstall.php +++ b/dbinstall.php @@ -1036,6 +1036,7 @@ if ($_POST) { setChange("update `tt_custom_field_options` cfo inner join `tt_site_config` sc on (sc.param_name = 'version_db' and sc.param_value = '1.18.23') inner join `tt_custom_fields` cf on cf.id = cfo.field_id set cfo.group_id = cf.group_id, cfo.org_id = cf.org_id where cfo.org_id is null"); setChange("update `tt_custom_field_log` cfl inner join `tt_site_config` sc on (sc.param_name = 'version_db' and sc.param_value = '1.18.23') inner join `tt_custom_fields` cf on cf.id = cfl.field_id set cfl.group_id = cf.group_id, cfl.org_id = cf.org_id where cfl.org_id is null"); setChange("ALTER TABLE `tt_custom_field_options` ADD `status` tinyint(4) default '1' after `value`"); + setChange("UPDATE `tt_site_config` SET param_value = '1.18.24', modified = now() where param_name = 'version_db' and param_value = '1.18.23'"); } if ($_POST["cleanup"]) {