X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/d27b08cc3e9c657bdb361379657d185f0ea47485..8d4f529a93ab84e85122a7302bdc0799b5c3bae8:/dbinstall.php diff --git a/dbinstall.php b/dbinstall.php index 00b9c382..58467bc1 100755 --- a/dbinstall.php +++ b/dbinstall.php @@ -709,7 +709,7 @@ if ($_POST) { setChange("ALTER TABLE `tt_log` ADD `paid` tinyint(4) NULL default '0' AFTER `billable`"); } - if ($_POST["convert11400to11710"]) { + if ($_POST["convert11400to11714"]) { setChange("ALTER TABLE `tt_teams` DROP `address`"); setChange("ALTER TABLE `tt_fav_reports` ADD `report_spec` text default NULL AFTER `user_id`"); setChange("ALTER TABLE `tt_fav_reports` ADD `paid_status` tinyint(4) default NULL AFTER `invoice`"); @@ -717,6 +717,9 @@ if ($_POST) { setChange("ALTER TABLE `tt_expense_items` ADD `paid` tinyint(4) NULL default '0' AFTER `invoice_id`"); setChange("ALTER TABLE `tt_monthly_quotas` MODIFY `quota` decimal(5,2) NOT NULL"); setChange("ALTER TABLE `tt_teams` MODIFY `workday_hours` decimal(5,2) DEFAULT '8.00'"); + setChange("ALTER TABLE `tt_teams` ADD `config` text default NULL AFTER `custom_logo`"); + setChange("ALTER TABLE `tt_monthly_quotas` ADD `minutes` int(11) DEFAULT NULL"); + setChange("ALTER TABLE `tt_teams` ADD `workday_minutes` smallint(4) DEFAULT '480' AFTER `workday_hours`"); } if ($_POST["cleanup"]) { @@ -761,7 +764,7 @@ if ($_POST) {

DB Install

-
Create database structure (v1.17.10) + Create database structure (v1.17.14)
(applies only to new installations, do not execute when updating)
@@ -797,8 +800,8 @@ if ($_POST) {
- Update database structure (v1.14 to v1.17.10) -
+ Update database structure (v1.14 to v1.17.14) +