X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=dbinstall.php;h=e8c688486d761c7ca7c0ffdd190685a68cf67179;hb=67ff88b9d0f11b6f63c06823828df337063a7d6f;hp=bf8c958e9bb27e7965a1a2d38c6299163001876f;hpb=d5d78055d87535ec75bcde0c10260882b9839b8c;p=timetracker.git diff --git a/dbinstall.php b/dbinstall.php index bf8c958e..e8c68848 100755 --- a/dbinstall.php +++ b/dbinstall.php @@ -709,8 +709,13 @@ if ($_POST) { setChange("ALTER TABLE `tt_log` ADD `paid` tinyint(4) NULL default '0' AFTER `billable`"); } - if ($_POST["convert11400to11500"]) { + 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"]) { @@ -755,7 +760,7 @@ if ($_POST) {

DB Install

-
Create database structure (v1.15.0) + Create database structure (v1.17.7)
(applies only to new installations, do not execute when updating)
@@ -791,8 +796,8 @@ if ($_POST) {
- Update database structure (v1.14 to v1.15) -
+ Update database structure (v1.14 to v1.17.7) +