X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/0056678b5dda50f9664753a8134c558c7583dce9..7d4e14287bbbd83a07b093e97ac53266494b7628:/dbinstall.php diff --git a/dbinstall.php b/dbinstall.php index 9a2078e0..6cf5a801 100755 --- a/dbinstall.php +++ b/dbinstall.php @@ -709,11 +709,12 @@ if ($_POST) { setChange("ALTER TABLE `tt_log` ADD `paid` tinyint(4) NULL default '0' AFTER `billable`"); } - if ($_POST["convert11400to11600"]) { + if ($_POST["convert11400to11700"]) { 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`"); } if ($_POST["cleanup"]) { @@ -758,7 +759,7 @@ if ($_POST) {

DB Install

-
Create database structure (v1.16.0) + Create database structure (v1.17.0)
(applies only to new installations, do not execute when updating)
@@ -794,8 +795,8 @@ if ($_POST) {
- Update database structure (v1.14 to v1.16) -
+ Update database structure (v1.14 to v1.17) +