diff --git a/pg2mysql.inc.php b/pg2mysql.inc.php index a0b350c..42b9417 100644 --- a/pg2mysql.inc.php +++ b/pg2mysql.inc.php @@ -231,7 +231,7 @@ function pg2mysql(&$input, $header=true) $line=str_replace(" time without time zone"," time",$line); $line=str_replace(" timestamp DEFAULT now()"," timestamp DEFAULT CURRENT_TIMESTAMP",$line); - $line=preg_replace("/ timestamp( NOT NULL)?(,|$)/",' timestamp DEFAULT 0${1}${2}',$line); + $line=preg_replace("/ timestamp( NOT NULL)?(,|$)/",' timestamp DEFAULT 0${1}${2}',$line); if(strstr($line,"auto_increment")) { $field=getfieldname($line);