From: Nik Okuntseff Date: Fri, 23 Mar 2018 00:59:41 +0000 (+0000) Subject: Update for tt_users created field. X-Git-Tag: timetracker_1.19-1~972 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=c360da4bcfd113a87bc156e0f009e968d8a8bf07;p=timetracker.git Update for tt_users created field. --- diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 0427ace0..3fa67d5a 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.17.65.4137 | Copyright © Anuko | +  Anuko Time Tracker 1.17.65.4138 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} diff --git a/dbinstall.php b/dbinstall.php index 9f6972c9..b04a1f69 100644 --- a/dbinstall.php +++ b/dbinstall.php @@ -852,6 +852,7 @@ if ($_POST) { 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"); + setChange("update `tt_users` u inner join `tt_site_config` sc on (sc.param_name = 'version_db' and sc.param_value = '1.17.65') set u.created = u.timestamp where u.created is null"); } if ($_POST["cleanup"]) {