X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/2702260e85d10b0d85301df922d8960a3ec88203..a84f7509ea5462f08ca01c5435e0217045391a45:/dbinstall.php diff --git a/dbinstall.php b/dbinstall.php index 6cf5a801..e8c68848 100755 --- a/dbinstall.php +++ b/dbinstall.php @@ -709,12 +709,13 @@ if ($_POST) { setChange("ALTER TABLE `tt_log` ADD `paid` tinyint(4) NULL default '0' AFTER `billable`"); } - if ($_POST["convert11400to11700"]) { + if ($_POST["convert11400to11707"]) { 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`"); setChange("ALTER TABLE `tt_fav_reports` ADD `show_paid` tinyint(4) NOT NULL DEFAULT '0' AFTER `show_invoice`"); 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"); } if ($_POST["cleanup"]) { @@ -759,7 +760,7 @@ if ($_POST) {
| Create database structure (v1.17.0) + | Create database structure (v1.17.7)
(applies only to new installations, do not execute when updating) |