]> wagnertech.de Git - timetracker.git/blobdiff - mysql.sql
Added an index on tt_custom_field_log for faster reporting, a few fixes.
[timetracker.git] / mysql.sql
index 07a2323a1da07c016c11650ec564690b379cd0a3..955f1b29c086903b815cf8b4ca65c527375b90f3 100644 (file)
--- a/mysql.sql
+++ b/mysql.sql
@@ -382,6 +382,8 @@ CREATE TABLE `tt_custom_field_log` (
   PRIMARY KEY  (`id`)
 );
 
+create index log_idx on tt_custom_field_log(log_id);
+
 
 #
 # Structure for table tt_expense_items.
@@ -456,4 +458,4 @@ CREATE TABLE `tt_site_config` (
   PRIMARY KEY  (`param_name`)
 );
 
-INSERT INTO `tt_site_config` (`param_name`, `param_value`, `created`) VALUES ('version_db', '1.18.00', now()); # TODO: change when structure changes.
+INSERT INTO `tt_site_config` (`param_name`, `param_value`, `created`) VALUES ('version_db', '1.18.05', now()); # TODO: change when structure changes.