Skip to content

Commit

Permalink
Fix move columns (#18271)
Browse files Browse the repository at this point in the history
Fix #18232 - Fix issues when moving a column

Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
Co-authored-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
  • Loading branch information
liviuconcioiu and MauricioFauth committed Mar 29, 2023
1 parent dab2379 commit d9e0b9d
Showing 1 changed file with 2 additions and 3 deletions.
Expand Up @@ -112,10 +112,9 @@ public function __invoke(ServerRequest $request): void
$data['Collation'] ?? '',
$data['Null'] === 'YES' ? 'YES' : 'NO',
$defaultType,
$currentTimestamp ? '' : $data['Default'],
$data['Default'] ?? '',
$data['Extra'] ?? '',
isset($data['COLUMN_COMMENT']) && $data['COLUMN_COMMENT'] !== ''
? $data['COLUMN_COMMENT'] : false,
$data['COLUMN_COMMENT'] ?? '',
$data['Virtuality'],
$data['Expression'],
$i === 0 ? '-first' : $columnNames[$i - 1],
Expand Down

0 comments on commit d9e0b9d

Please sign in to comment.