foreign_display_field
This commit is contained in:
@@ -7,6 +7,8 @@ $Source$
|
||||
|
||||
2002-05-06 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* lang/romanian.inc.php3 updates thanks to Valics Lehel
|
||||
* lang/*, tbl_relation.php3, Documentation.html,
|
||||
libraries/display_tbl.lib.php3: foreign_display_field
|
||||
|
||||
2002-05-05 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||
* lang/thai.inc.php3: completed thanks to Arthit Suriyawongkul &
|
||||
|
@@ -590,6 +590,11 @@ $cfg['PmaAbsoluteUri'] = (!empty($HTTPS) ? 'https' : 'http') . '://'
|
||||
make clickable, when you browse the master table, the data values
|
||||
that point to the foreign table;
|
||||
</li>
|
||||
<li>
|
||||
display in an optional tooltip the "display field"
|
||||
when browsing the master table, if
|
||||
you move the mouse to a column containing a foreign key;
|
||||
</li>
|
||||
<li>
|
||||
display links on the table properties page, to check referential
|
||||
integrity (display missing foreign keys) for each described key;
|
||||
@@ -615,6 +620,7 @@ $cfg['PmaAbsoluteUri'] = (!empty($HTTPS) ? 'https' : 'http') . '://'
|
||||
`master_field` varchar(32) NOT NULL default '',<br />
|
||||
`foreign_table` varchar(32) NOT NULL default '',<br />
|
||||
`foreign_field` varchar(32) NOT NULL default '',<br />
|
||||
`foreign_display_field` varchar(32) NOT NULL default '',<br />
|
||||
PRIMARY KEY (`master_table`,`master_field`)<br />
|
||||
) TYPE=MyISAM COMMENT='Table Relation';<br />
|
||||
</tt>
|
||||
@@ -635,6 +641,7 @@ $cfg['PmaAbsoluteUri'] = (!empty($HTTPS) ? 'https' : 'http') . '://'
|
||||
ALTER TABLE relation CHANGE src_column master_field VARCHAR(32) NOT NULL<br />
|
||||
ALTER TABLE relation CHANGE dest_table foreign_table VARCHAR(32) NOT NULL<br />
|
||||
ALTER TABLE relation CHANGE dest_column foreign_field VARCHAR(32) NOT NULL<br />
|
||||
ALTER TABLE `relation` ADD `foreign_display_field` VARCHAR(32) NOT NULL;<br />
|
||||
</tt><br />
|
||||
</dd>
|
||||
|
||||
|
Reference in New Issue
Block a user