X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/b4912256781dcc0797dbe7f12bd9dec6718641db..11441db31dcbed7b2070e800bcb1b0e6547b86bd:/dbinstall.php diff --git a/dbinstall.php b/dbinstall.php index 1429a24f..8964d934 100644 --- a/dbinstall.php +++ b/dbinstall.php @@ -517,6 +517,11 @@ if ($_POST) { setChange("DROP INDEX name_idx on tt_invoices"); setChange("create unique index name_idx on tt_invoices(team_id, name, status)"); 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. @@ -621,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)
@@ -656,6 +661,10 @@ if ($_POST) { Update database structure (v1.6 to v1.9)
+ + Update database structure (v1.9 to v1.9.30) +
+

DB Maintenance