X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/270e151b8e401b815c6920a2d56e67db9e8b8e98..11441db31dcbed7b2070e800bcb1b0e6547b86bd:/dbinstall.php diff --git a/dbinstall.php b/dbinstall.php index 39c967ae..8964d934 100644 --- a/dbinstall.php +++ b/dbinstall.php @@ -519,6 +519,10 @@ if ($_POST) { setChange("ALTER TABLE tt_teams ADD COLUMN lock_spec varchar(255) default NULL"); setChange("ALTER TABLE tt_teams DROP locktime"); } + + if ($_POST["convert1900to1930"]){ + setChange("CREATE TABLE `timetracker`.`tt_monthly_quota` ( `year` SMALLINT UNSIGNED NOT NULL , `month` TINYINT UNSIGNED NOT NULL , `quota` SMALLINT UNSIGNED NOT NULL , PRIMARY KEY (`year`, `month`))"); + } // The update_clients function updates projects field in tt_clients table. if ($_POST["update_clients"]) { @@ -622,7 +626,7 @@ if ($_POST) {

DB Install

-
Create database structure (v1.9) + Create database structure (v1.9.30)
(applies only to new installations, do not execute when updating)
@@ -657,6 +661,10 @@ if ($_POST) { Update database structure (v1.6 to v1.9)
+ + Update database structure (v1.9 to v1.9.30) +
+

DB Maintenance