]> wagnertech.de Git - timetracker.git/blobdiff - dbinstall.php
Add option to profile_edit.php to show/hide users uncompleted entries (#24)
[timetracker.git] / dbinstall.php
index 255f944ce65834513840d956e273d65069e85dab..9361cda3293c3e849db13a9d295d1a98f1bb719a 100755 (executable)
@@ -634,6 +634,7 @@ if ($_POST) {
     setChange("ALTER TABLE `tt_teams` ADD `workday_hours` SMALLINT NULL DEFAULT '8' AFTER `lock_spec`");
     setChange("RENAME TABLE tt_monthly_quota TO tt_monthly_quotas");
     setChange("ALTER TABLE tt_expense_items modify `name` text NOT NULL");
+    setChange("ALTER TABLE `tt_teams` ADD `uncompleted_entries` SMALLINT(2) NOT NULL DEFAULT '0' AFTER `record_type`");
   }
   
   // The update_clients function updates projects field in tt_clients table.