Skip to content

Commit

Permalink
FIX : in PgSQL no quote "word style" is permitted around column name
Browse files Browse the repository at this point in the history
  • Loading branch information
atm-florian committed Aug 17, 2016
1 parent 3932a32 commit a132375
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/core/db/pgsql.class.php
Expand Up @@ -1093,7 +1093,7 @@ function DDLUpdateField($table,$field_name,$field_desc)
*/
function DDLDropField($table,$field_name)
{
$sql= "ALTER TABLE ".$table." DROP COLUMN `".$field_name."`";
$sql= "ALTER TABLE ".$table." DROP COLUMN ".$field_name;
dol_syslog($sql,LOG_DEBUG);
if (! $this->query($sql))
{
Expand Down

0 comments on commit a132375

Please sign in to comment.