X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/bcff87ad905e60d848029cf5643c8c02191ca346..e80e19c6b609af8e06403a337a5cd46200ab4fc6:/dbinstall.php diff --git a/dbinstall.php b/dbinstall.php index 7fb35e83..9f6972c9 100644 --- a/dbinstall.php +++ b/dbinstall.php @@ -851,6 +851,7 @@ if ($_POST) { setChange("ALTER TABLE `tt_teams` ADD `modified_ip` varchar(45) default NULL AFTER `modified`"); setChange("ALTER TABLE `tt_teams` ADD `modified_by` int(11) default NULL AFTER `modified_ip`"); setChange("UPDATE `tt_site_config` SET param_value = '1.17.65', modified = now() where param_name = 'version_db' and param_value = '1.17.64'"); + setChange("update `tt_teams` t inner join `tt_site_config` sc on (sc.param_name = 'version_db' and sc.param_value = '1.17.65') set t.created = t.timestamp where t.created is null"); } if ($_POST["cleanup"]) {