Fixed mysql.sql for new installs - one table was not being created.
[timetracker.git] / mysql.sql
index 5237dfe..1b510a7 100644 (file)
--- a/mysql.sql
+++ b/mysql.sql
@@ -169,9 +169,9 @@ create unique index bind_idx on tt_user_project_binds(user_id, project_id);
 #
 CREATE TABLE `tt_project_task_binds` (
   `project_id` int(11) NOT NULL,        # project id
-  `task_id` int(11) NOT NULL            # task id
+  `task_id` int(11) NOT NULL,           # task id
   `group_id` int(11) default NULL,      # group id
-  `org_id` int(11) default NULL,        # organization id
+  `org_id` int(11) default NULL         # organization id
 );
 
 # Indexes for tt_project_task_binds.
@@ -469,4 +469,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.12', now()); # TODO: change when structure changes.
+INSERT INTO `tt_site_config` (`param_name`, `param_value`, `created`) VALUES ('version_db', '1.18.13', now()); # TODO: change when structure changes.