Correct SQL in INSTALLER

This commit is contained in:
steve-lad 2021-06-20 13:14:54 +02:00
parent aad6fa31c6
commit def22582e3

View file

@ -366,7 +366,7 @@ function InstallDB_updateSchema($db_config)
$count_modify ++;
}
if (!empty($row_data['def_modify'])) {
$sql_modify .= "MODIFY COLUMN {$row_fld} SET DEFAULT {$row_data['def_modify']}, ";
$sql_modify .= "ALTER COLUMN {$row_fld} SET DEFAULT '{$row_data['def_modify']}', ";
$count_modify ++;
}
if (!empty($row_data['drop'])) {