aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/SPIndexesController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPIndexesController.m b/Source/SPIndexesController.m
index 6fd94d00..d7a509bd 100644
--- a/Source/SPIndexesController.m
+++ b/Source/SPIndexesController.m
@@ -443,7 +443,7 @@
BOOL removeForeignKey = [[indexDetails objectForKey:@"RemoveForeignKey"] boolValue];
// Remove the foreign key dependency before the index if required
- if ([removeForeignKey boolValue]) {
+ if (removeForeignKey) {
NSString *columnName = [index objectForKey:@"Column_name"];