foreign_display_field
This commit is contained in:
@@ -7,6 +7,8 @@ $Source$
|
|||||||
|
|
||||||
2002-05-06 Marc Delisle <lem9@users.sourceforge.net>
|
2002-05-06 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* lang/romanian.inc.php3 updates thanks to Valics Lehel
|
* 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>
|
2002-05-05 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||||
* lang/thai.inc.php3: completed thanks to Arthit Suriyawongkul &
|
* 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
|
make clickable, when you browse the master table, the data values
|
||||||
that point to the foreign table;
|
that point to the foreign table;
|
||||||
</li>
|
</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>
|
<li>
|
||||||
display links on the table properties page, to check referential
|
display links on the table properties page, to check referential
|
||||||
integrity (display missing foreign keys) for each described key;
|
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 />
|
`master_field` varchar(32) NOT NULL default '',<br />
|
||||||
`foreign_table` varchar(32) NOT NULL default '',<br />
|
`foreign_table` varchar(32) NOT NULL default '',<br />
|
||||||
`foreign_field` 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 />
|
PRIMARY KEY (`master_table`,`master_field`)<br />
|
||||||
) TYPE=MyISAM COMMENT='Table Relation';<br />
|
) TYPE=MyISAM COMMENT='Table Relation';<br />
|
||||||
</tt>
|
</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 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_table foreign_table VARCHAR(32) NOT NULL<br />
|
||||||
ALTER TABLE relation CHANGE dest_column foreign_field 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 />
|
</tt><br />
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user