PBXT: foreign key support

This commit is contained in:
Marc Delisle
2008-05-04 18:36:17 +00:00
parent f0cd8feebe
commit 7c5d5c466a
64 changed files with 192 additions and 170 deletions

View File

@@ -492,7 +492,7 @@ if (isset($possible_row_formats[$tbl_type])) {
<?php
// display "Add constraints" choice only if there are
// foreign keys
if (PMA_getForeigners($GLOBALS['db'], $GLOBALS['table'], '', 'innodb')) {
if (PMA_getForeigners($GLOBALS['db'], $GLOBALS['table'], '', 'foreign')) {
?>
<input type="checkbox" name="add_constraints" value="1" id="checkbox_constraints" />
<label for="checkbox_constraints"><?php echo $strAddConstraints; ?></label><br />