From fc764a3b29d64bd287b1c92c860ab30f761b99fd Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sat, 22 Nov 2003 12:44:23 +0000 Subject: [PATCH] Add Constraints only if necessary --- ChangeLog | 4 ++++ tbl_properties_operations.php | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 7678d885e..b923d86c1 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,10 @@ phpMyAdmin - Changelog $Id$ $Source$ +2003-11-22 Marc Delisle + * tbl_properties_operations.php: display "Add constraints" only + if there are foreign keys in current table + 2003-11-21 Marc Delisle * tbl_move_copy.php: typo about constraints diff --git a/tbl_properties_operations.php b/tbl_properties_operations.php index e9144267f..d2993d2f5 100644 --- a/tbl_properties_operations.php +++ b/tbl_properties_operations.php @@ -208,9 +208,15 @@ for ($i = 0; $i < $num_dbs; $i++) {   

+