]> wagnertech.de Git - timetracker.git/blobdiff - mysql.sql
Improving localization files in preparation for integrating paid status plugin as...
[timetracker.git] / mysql.sql
index e92629239d4fe8ec5254e066ac1cab4327b33a71..9a971bece6268c136c767e7a28f1439005bf9afa 100644 (file)
--- a/mysql.sql
+++ b/mysql.sql
@@ -144,6 +144,7 @@ CREATE TABLE `tt_log` (
   `invoice_id` int(11) default NULL,   # invoice id
   `comment` text,                      # user provided comment for time record
   `billable` tinyint(4) default '0',   # whether the record is billable or not
+  `paid` tinyint(4) default '0',       # whether the record is paid
   `status` tinyint(4) default '1',     # time record status
   PRIMARY KEY (`id`)
 );
@@ -229,6 +230,8 @@ CREATE TABLE `tt_cron` (
   `next` int(11) default NULL,                  # UNIX timestamp of when to run next job
   `report_id` int(11) default NULL,             # report id from tt_fav_reports, a report to mail on schedule
   `email` varchar(100) default NULL,            # email to send results to
+  `cc` varchar(100) default NULL,               # cc email to send results to
+  `subject` varchar(100) default NULL,          # email subject
   `report_condition` varchar(255) default NULL, # report condition, "count > 0" for sending not empty reports
   `status` tinyint(4) default '1',              # entry status
   PRIMARY KEY (`id`)