X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/2e5d329bb88d0cda3515cccaea70575867b482fd..dd30f46db3b91a8540b92f905930d8c38ea4c2b9:/dbinstall.php diff --git a/dbinstall.php b/dbinstall.php index 2b0d896c..49c9747e 100755 --- a/dbinstall.php +++ b/dbinstall.php @@ -600,7 +600,7 @@ if ($_POST) { setChange("ALTER TABLE tt_invoices DROP end_date"); } - if ($_POST["convert1600to11300"]) { + if ($_POST["convert1600to11400"]) { setChange("DROP TABLE IF EXISTS tt_invoice_headers"); setChange("ALTER TABLE tt_fav_reports ADD COLUMN `client_id` int(11) default NULL"); setChange("ALTER TABLE tt_fav_reports ADD COLUMN `cf_1_option_id` int(11) default NULL"); @@ -645,6 +645,7 @@ if ($_POST) { setChange("ALTER TABLE `tt_teams` ADD `bcc_email` varchar(100) default NULL AFTER `uncompleted_indicators`"); setChange("ALTER TABLE `tt_cron` ADD `cc` varchar(100) default NULL AFTER `email`"); setChange("ALTER TABLE `tt_cron` ADD `subject` varchar(100) default NULL AFTER `cc`"); + setChange("ALTER TABLE `tt_log` ADD `paid` tinyint(4) NULL default '0' AFTER `billable`"); } // The update_clients function updates projects field in tt_clients table. @@ -750,7 +751,7 @@ if ($_POST) {

DB Install

-
Create database structure (v1.13.0) + Create database structure (v1.14.0)
(applies only to new installations, do not execute when updating)
@@ -782,8 +783,8 @@ if ($_POST) {


- Update database structure (v1.6 to v1.13) -
+ Update database structure (v1.6 to v1.14) +