1
0
Fork 0
mirror of synced 2025-04-03 13:23:37 +03:00

Fixed trailing spaces on SchemaTool

This commit is contained in:
Francis Besset 2012-12-01 21:12:55 +01:00
parent 56b230a1f0
commit df2bfbb636

View file

@ -399,13 +399,13 @@ class SchemaTool
unset($mapping['options']['unsigned']); unset($mapping['options']['unsigned']);
} }
if (isset($mapping['options']['fixed'])) { if (isset($mapping['options']['fixed'])) {
$options['fixed'] = $mapping['options']['fixed']; $options['fixed'] = $mapping['options']['fixed'];
unset($mapping['options']['fixed']); unset($mapping['options']['fixed']);
} }
$options['customSchemaOptions'] = $mapping['options']; $options['customSchemaOptions'] = $mapping['options'];
} }
@ -609,7 +609,7 @@ class SchemaTool
break; break;
} }
} }
$blacklistedFks[$compositeName] = true; $blacklistedFks[$compositeName] = true;
} elseif (!isset($blacklistedFks[$compositeName])) { } elseif (!isset($blacklistedFks[$compositeName])) {
$addedFks[$compositeName] = array('foreignTableName' => $foreignTableName, 'foreignColumns' => $foreignColumns); $addedFks[$compositeName] = array('foreignTableName' => $foreignTableName, 'foreignColumns' => $foreignColumns);
$theJoinTable->addUnnamedForeignKeyConstraint( $theJoinTable->addUnnamedForeignKeyConstraint(