Allow both single and double quotes for ENUM values (even though we should standardiz...
authorGreg Sabino Mullane <greg@users.mediawiki.org>
Tue, 24 Aug 2010 17:34:42 +0000 (17:34 +0000)
committerGreg Sabino Mullane <greg@users.mediawiki.org>
Tue, 24 Aug 2010 17:34:42 +0000 (17:34 +0000)
maintenance/postgres/compare_schemas.pl

index a13f27c..e91a309 100644 (file)
@@ -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+\))?};