Commit 9362698c authored by Daniel Hensby's avatar Daniel Hensby Committed by Steve Müller

FIX Sequence::isAutoIncrementsFor now case insensitive

parent c8ea13ac
...@@ -149,7 +149,7 @@ class Sequence extends AbstractAsset ...@@ -149,7 +149,7 @@ class Sequence extends AbstractAsset
$sequenceName = $this->getShortestName($table->getNamespaceName()); $sequenceName = $this->getShortestName($table->getNamespaceName());
$tableName = $table->getShortestName($table->getNamespaceName()); $tableName = $table->getShortestName($table->getNamespaceName());
$tableSequenceName = sprintf('%s_%s_seq', $tableName, $pkColumns[0]); $tableSequenceName = sprintf('%s_%s_seq', $tableName, $column->getShortestName($table->getNamespaceName()));
return $tableSequenceName === $sequenceName; return $tableSequenceName === $sequenceName;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment