]> wagnertech.de Git - timetracker.git/blobdiff - mysql.sql
Introduced org_id in tt_expense_items table.
[timetracker.git] / mysql.sql
index 9a6030c101e066051b02bb66cd558ec869ff49a3..5ffc79e43ee362afc6b16ada2c92531e906479c8 100644 (file)
--- a/mysql.sql
+++ b/mysql.sql
@@ -405,6 +405,7 @@ CREATE TABLE `tt_expense_items` (
   `date` date NOT NULL,                   # date the record is for
   `user_id` int(11) NOT NULL,             # user id the expense item is reported by
   `group_id` int(11) default NULL,        # group id
+  `org_id` int(11) default NULL,          # organization id
   `client_id` int(11) default NULL,       # client id
   `project_id` int(11) default NULL,      # project id
   `name` text NOT NULL,                   # expense item name (what is an expense for)
@@ -471,4 +472,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.16', now()); # TODO: change when structure changes.
+INSERT INTO `tt_site_config` (`param_name`, `param_value`, `created`) VALUES ('version_db', '1.18.17', now()); # TODO: change when structure changes.