foreign_display_field in example
This commit is contained in:
@@ -1592,11 +1592,12 @@ $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;<br />
|
||||
<br />
|
||||
INSERT INTO relation VALUES ('persons', 'town_code', 'towns', 'town_code');<br />
|
||||
INSERT INTO relation VALUES ('persons', 'country_code', 'countries', 'country_code');<br />
|
||||
INSERT INTO relation VALUES ('persons', 'town_code', 'towns', 'town_code','description');<br />
|
||||
INSERT INTO relation VALUES ('persons', 'country_code', 'countries', 'country_code','description');<br />
|
||||
<br />
|
||||
CREATE TABLE towns (<br />
|
||||
town_code varchar(5) NOT NULL default '0',<br />
|
||||
|
Reference in New Issue
Block a user