X-Git-Url: http://git.pippins.net/embedvideo/.git/static/gitweb.js?a=blobdiff_plain;f=sql%2Ftc.sql;h=cc8493102a31bb167b584d26d8df26662205a901;hb=6164e3a3c2d19b4e1d718ccafd7dddf6da27d270;hp=f5520dbaeee32d909b912eedfff10087a4e6e741;hpb=10d31609e9f447202816d2721333e0d83f5c4f0a;p=eq%2F.git diff --git a/sql/tc.sql b/sql/tc.sql index f5520db..cc84931 100644 --- a/sql/tc.sql +++ b/sql/tc.sql @@ -86,6 +86,7 @@ CREATE TABLE /*!42501 IF NOT EXISTS*/ `tc_companionship` ( `companionship` INT( 16 ) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY , `mls_id` INT( 16 ) UNSIGNED NULL DEFAULT NULL , `district` INT( 16 ) UNSIGNED NULL DEFAULT NULL , + `type` ENUM( 'H', 'P' ) NOT NULL DEFAULT 'H' , `valid` TINYINT( 1 ) UNSIGNED NOT NULL DEFAULT '1' ) ENGINE = MYISAM ; @@ -94,7 +95,7 @@ CREATE TABLE /*!42501 IF NOT EXISTS*/ `tc_companionship` ( -- CREATE TABLE /*!42501 IF NOT EXISTS*/ `tc_district` ( `district` int(16) unsigned NOT NULL default '0', - `supervisor` int(16) unsigned default NULL, + `leader` int(16) unsigned default NULL, `valid` tinyint(1) default NULL, PRIMARY KEY (`district`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; @@ -246,7 +247,7 @@ CREATE TABLE /*!42501 IF NOT EXISTS*/ `tc_task` ( -- CREATE TABLE /*!42501 IF NOT EXISTS*/ `tc_district_sandbox` ( `district` INT( 16 ) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, - `supervisor` INT( 16 ) UNSIGNED NULL DEFAULT NULL + `leader` INT( 16 ) UNSIGNED NULL DEFAULT NULL ) ENGINE = MYISAM ; --