| 1680 |
} |
} |
| 1681 |
|
|
| 1682 |
// Do the same for column positions of foreign keys with dependencies |
// Do the same for column positions of foreign keys with dependencies |
| 1683 |
if (is_array($dependant_columns['foreign-key'])) { |
if (array_key_exists('foreign-key', $dependant_columns)) { |
| 1684 |
$position = $dependant_columns['foreign-key']['position']; |
$position = $dependant_columns['foreign-key']['position']; |
| 1685 |
$column_variables .= "\ncolumn_with_dependency[$position] = $position\n"; |
$column_variables .= "\ncolumn_with_dependency[$position] = $position\n"; |
| 1686 |
foreach ($dependant_columns['dependencies'] as $column_name => $values) { |
foreach ($dependant_columns['dependencies'] as $column_name => $values) { |