X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/6cb9c41aae566dcc564fa8ad3a6c6ee4facdf373..ab284f0e5be219f5560844cfc5e4c0a48ba1142a:/mysql.sql

diff --git a/mysql.sql b/mysql.sql
index c37a32c4..fad0f92d 100644
--- a/mysql.sql
+++ b/mysql.sql
@@ -416,11 +416,11 @@ create unique index role_idx on tt_roles(team_id, rank, status);
 # For example, database version, code version, site language, etc.
 #
 CREATE TABLE `tt_site_config` (
-  `param_name` varchar(32) NOT NULL,              # parameter name
-  `param_value` text default NULL,                # parameter value
-  `created` datetime default CURRENT_TIMESTAMP,   # creation time
-  `updated` datetime ON UPDATE CURRENT_TIMESTAMP, # modification time
+  `param_name` varchar(32) NOT NULL, # parameter name
+  `param_value` text default NULL,   # parameter value
+  `created` datetime default NULL,   # creation time
+  `updated` datetime default NULL,   # modification time
   PRIMARY KEY  (`param_name`)
 );
 
-INSERT INTO `tt_site_config` (`param_name`, `param_value`) VALUES ('version_db', '1.17.34'); # TODO: change when structure changes.
+INSERT INTO `tt_site_config` (`param_name`, `param_value`, `created`) VALUES ('version_db', '1.17.34', now()); # TODO: change when structure changes.
