]> wagnertech.de Git - timetracker.git/commitdiff
Introduced status field in tt_fav_reports table to support handling user deletions.
authoranuko <support@anuko.com>
Sat, 29 Jul 2017 16:39:14 +0000 (16:39 +0000)
committeranuko <support@anuko.com>
Sat, 29 Jul 2017 16:39:14 +0000 (16:39 +0000)
WEB-INF/templates/footer.tpl
dbinstall.php
mysql.sql

index 03e56bbcce21f2e2c6a25e5c2f1c34d7eae0425c..694cf8eaccaaada5f4f1d3c875c60ba723dd4170 100644 (file)
@@ -12,7 +12,7 @@
       <br>
       <table cellspacing="0" cellpadding="4" width="100%" border="0">
         <tr>
-          <td align="center">&nbsp;Anuko Time Tracker 1.11.45.3648 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+          <td align="center">&nbsp;Anuko Time Tracker 1.11.46.3649 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
             <a href="https://www.anuko.com/lp/tt_4.htm" target="_blank">{$i18n.footer.credits}</a> |
             <a href="https://www.anuko.com/lp/tt_5.htm" target="_blank">{$i18n.footer.license}</a> |
             <a href="https://www.anuko.com/lp/tt_7.htm" target="_blank">{$i18n.footer.improve}</a>
index 9638fe4f372e1e2b20c0ad96afc0e41a0e43d756..4199288ebe3dd6732c2f9a875f4eaf8ff3a800aa 100755 (executable)
@@ -639,6 +639,7 @@ if ($_POST) {
     setChange("ALTER TABLE `tt_teams` ADD `task_required` smallint(2) NOT NULL DEFAULT '0' AFTER `tracking_mode`");
     setChange("ALTER TABLE `tt_teams` ADD `project_required` smallint(2) NOT NULL DEFAULT '0' AFTER `tracking_mode`");
     setChange("ALTER TABLE `tt_cron` ADD `report_condition` varchar(255) default NULL AFTER `email`");
+    setChange("ALTER TABLE `tt_fav_reports` ADD `status` tinyint(4) default '1'");
   }
   
   // The update_clients function updates projects field in tt_clients table.
index bf0fb204dcdd79f52a071626c3a8479346e927f2..b7cd700241d5b412a820a77c48d214750130acf2 100644 (file)
--- a/mysql.sql
+++ b/mysql.sql
@@ -212,6 +212,7 @@ CREATE TABLE `tt_fav_reports` (
   `show_custom_field_1` tinyint(4) NOT NULL default '0', # whether to show custom field 1
   `show_totals_only` tinyint(4) NOT NULL default '0',    # whether to show totals only
   `group_by` varchar(20) default NULL,                   # group by field
+  `status` tinyint(4) default '1',                       # favorite report status
   PRIMARY KEY (`id`)
 );