From: Owen Leonard Date: Sat, 18 Sep 2010 05:34:46 +0000 (-0600) Subject: added tc_task and tc_accomplishment tables to database X-Git-Tag: release_1_0_0~29 X-Git-Url: http://git.pippins.net/embedvideo/.git/static/git-logo.png?a=commitdiff_plain;h=991af26c24553af2262b6eca3cd7c5c390a41c2a;hp=17b6c5b5bedf4d243eb5aae967a14aece783f17b;p=eq%2F.git added tc_task and tc_accomplishment tables to database --- diff --git a/sql/tc.sql b/sql/tc.sql index c42555e..687cf71 100644 --- a/sql/tc.sql +++ b/sql/tc.sql @@ -203,7 +203,7 @@ CREATE TABLE `tc_willingness` ( -- -- Table structure for table `tc_scheduling_priority` -- -CREATE TABLE `phpgroupware`.`tc_scheduling_priority` ( +CREATE TABLE `tc_scheduling_priority` ( `scheduling_priority` INT( 16 ) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY , `priority` INT( 10 ) UNSIGNED NOT NULL DEFAULT '30', `notes` VARCHAR( 128 ) NOT NULL DEFAULT '' @@ -212,7 +212,7 @@ CREATE TABLE `phpgroupware`.`tc_scheduling_priority` ( -- -- Table structure for table `tc_email_list` -- -CREATE TABLE `phpgroupware`.`tc_email_list` ( +CREATE TABLE `tc_email_list` ( `email_list` INT( 16 ) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY , `name` VARCHAR( 128 ) NULL DEFAULT NULL ) ENGINE = MYISAM ; @@ -220,7 +220,27 @@ CREATE TABLE `phpgroupware`.`tc_email_list` ( -- -- Table structure for table `tc_email_list_membership` -- -CREATE TABLE `phpgroupware`.`tc_email_list_membership` ( +CREATE TABLE `tc_email_list_membership` ( `individual` INT( 16 ) UNSIGNED NULL DEFAULT NULL , `email_list` INT( 16 ) UNSIGNED NULL DEFAULT NULL ) ENGINE = MYISAM ; + +-- +-- Table structure for table `tc_accomplishment` +-- +CREATE TABLE `tc_accomplishment` ( +`accomplishment` INT( 16 ) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY , +`individual` INT( 16 ) UNSIGNED NULL DEFAULT NULL , +`date` DATE NULL DEFAULT NULL , +`task` INT( 16 ) UNSIGNED NULL DEFAULT NULL , +`note` VARCHAR( 128 ) NOT NULL +) ENGINE = MYISAM ; + +-- +-- Table structure for table `tc_task` +-- +CREATE TABLE `tc_task` ( +`task` INT( 16 ) NOT NULL AUTO_INCREMENT PRIMARY KEY , +`name` VARCHAR( 128 ) NOT NULL , +`description` VARCHAR( 128 ) NOT NULL +) ENGINE = MYISAM ;