upgrading relation table
This commit is contained in:
@@ -628,6 +628,14 @@ $cfg['PmaAbsoluteUri'] = (!empty($HTTPS) ? 'https' : 'http') . '://'
|
|||||||
the keys.
|
the keys.
|
||||||
</li>
|
</li>
|
||||||
</ul><br />
|
</ul><br />
|
||||||
|
If you created a relation table before release 2.3.0, you can upgrade
|
||||||
|
it with those commands, assuming your table name is "relation":<br />
|
||||||
|
<tt>
|
||||||
|
ALTER TABLE relation CHANGE src_table master_table 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_column foreign_field VARCHAR(32) NOT NULL<br />
|
||||||
|
</tt><br />
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
<dt><b>$cfg['ServerDefault']</b> integer</dt>
|
<dt><b>$cfg['ServerDefault']</b> integer</dt>
|
||||||
|
Reference in New Issue
Block a user