From: Greg Sabino Mullane Date: Tue, 24 Aug 2010 17:34:42 +0000 (+0000) Subject: Allow both single and double quotes for ENUM values (even though we should standardiz... X-Git-Tag: 1.31.0-rc.0~35344 X-Git-Url: http://git.cyclocoop.org/clavettes/images/siteon3.jpg?a=commitdiff_plain;h=4c9ba6494ef0e8d345d6b4d6c10b1b640c5516e9;p=lhc%2Fweb%2Fwiklou.git Allow both single and double quotes for ENUM values (even though we should standardize on one or the other) --- diff --git a/maintenance/postgres/compare_schemas.pl b/maintenance/postgres/compare_schemas.pl index a13f27c6a3..e91a309616 100644 --- a/maintenance/postgres/compare_schemas.pl +++ b/maintenance/postgres/compare_schemas.pl @@ -43,7 +43,7 @@ tinytext mediumtext text char varchar varbinary binary timestamp datetime tinyblob mediumblob blob ); -$datatype .= q{|ENUM\([\"\w, ]+\)}; +$datatype .= q{|ENUM\([\"\w\', ]+\)}; $datatype = qr{($datatype)}; my $typeval = qr{(\(\d+\))?};