- Some small bugfixes made
This commit is contained in:
1 parent
a4743b471c
commit
01ab6e82d4
6 files changed
+55
-8
No files matched your search
@@ -104,7 +104,7 @@ trait DefaultAdapterTrait
|
||||
public function generateAlterColumn(FieldDefinition $definition, array $field) : string|\Stringable
|
||||
{
|
||||
if ($field['previous']) {
|
||||
$position = sprintf('AFTER %s', $adapter->escapeIdentifier($field['previous']['field'], AdapterInterface::IDENTIFIER_FIELD));
|
||||
$position = sprintf('AFTER %s', $this->escapeIdentifier($field['previous']['field'], AdapterInterface::IDENTIFIER_FIELD));
|
||||
}
|
||||
else {
|
||||
$position = "FIRST";
|
||||
|
||||
Reference in new issue
Block a user