From def22582e38d9531dfe144fa3a5b193ec0c4c308 Mon Sep 17 00:00:00 2001 From: steve-lad <72376554+steve-lad@users.noreply.github.com> Date: Sun, 20 Jun 2021 13:14:54 +0200 Subject: [PATCH] Correct SQL in INSTALLER --- install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.php b/install.php index 812467a..32dbe83 100644 --- a/install.php +++ b/install.php @@ -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'])) {