]> wagnertech.de Git - timetracker.git/blobdiff - dbinstall.php
Version change for PR#23, fixed dbinstall.php for it to work.
[timetracker.git] / dbinstall.php
index 6561649eed3996a1789b7503248bb3996083642b..255f944ce65834513840d956e273d65069e85dab 100755 (executable)
@@ -633,6 +633,7 @@ if ($_POST) {
     setChange("ALTER TABLE `tt_monthly_quota` ADD CONSTRAINT `FK_TT_TEAM_CONSTRAING` FOREIGN KEY (`team_id`) REFERENCES `tt_teams` (`id`) ON DELETE CASCADE ON UPDATE CASCADE");
     setChange("ALTER TABLE `tt_teams` ADD `workday_hours` SMALLINT NULL DEFAULT '8' AFTER `lock_spec`");
     setChange("RENAME TABLE tt_monthly_quota TO tt_monthly_quotas");
+    setChange("ALTER TABLE tt_expense_items modify `name` text NOT NULL");
   }
   
   // The update_clients function updates projects field in tt_clients table.
@@ -785,4 +786,4 @@ if ($_POST) {
 </form>
 </div>
 </body>
-</html>
\ No newline at end of file
+</html>