[Tutos-commits] tutos/php/db table.pinc,1.41,1.42
Projects / CRM / PLM / Calendar / Tasks / SCRUM / Test / Inventory
Brought to you by:
gokohnert
|
From: Gero K. <gok...@us...> - 2008-12-14 15:14:04
|
Update of /cvsroot/tutos/tutos/php/db In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv20208/db Modified Files: table.pinc Log Message: new config data stored in database (with bugtracking modules as early adaptor) Index: table.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/db/table.pinc,v retrieving revision 1.41 retrieving revision 1.42 diff -u -d -r1.41 -r1.42 --- table.pinc 7 Nov 2008 15:33:30 -0000 1.41 +++ table.pinc 14 Dec 2008 15:13:59 -0000 1.42 @@ -12,6 +12,7 @@ * $Author$ */ +# Object Types $table['objectids'] = array( name => 'objectids', Desc => "TUTOS object id - type referece", @@ -19,6 +20,21 @@ 'tutostype' => array(type => 'ID_TYPE', constraints => 'NN', Desc => 'tutos type (see db.p3)'), ); +# Config Table for online (not in config.php) changeable values +$table['tutos_config'] = array ( + name => 't_config', + Desc => 'TUTOS Configuration', + 'cname' => array(type => 'VARCHAR', size => 40, constraints => 'PK', Desc => "configuration name"), + 'cvalue' => array(type => 'VARCHAR', size => 250, constraints => '', Desc => "configuration value"), + 'ctag' => array(type => 'VARCHAR', size => 40, constraints => '', Desc => "configuration tag (module or similar)"), +); +$tableidx['config1'] = array( + name => "config_tag", + table => "t_config", + column => array("ctag"), + Desc => "config tags", +); + $table['people'] = array( name => 'people', Desc => 'TUTOS users', |