From: Johannes Plunien Date: Mon, 9 Feb 2009 12:25:32 +0000 (+0000) Subject: Translate bytea to BLOB in MySQL producer. This fixes a few tests of DBIC if you... X-Git-Tag: v0.11008~240 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=08dd65937e43a5d15659144bee2e5d3a5f763f27;p=dbsrgits%2FSQL-Translator.git Translate bytea to BLOB in MySQL producer. This fixes a few tests of DBIC if you run the full test-suite against MySQL instead of SQLite --- diff --git a/lib/SQL/Translator/Producer/MySQL.pm b/lib/SQL/Translator/Producer/MySQL.pm index d370be4..4aa0e92 100644 --- a/lib/SQL/Translator/Producer/MySQL.pm +++ b/lib/SQL/Translator/Producer/MySQL.pm @@ -139,6 +139,11 @@ my %translate = ( 'long integer' => 'integer', 'text' => 'text', 'datetime' => 'datetime', + + # + # PostgreSQL types + # + bytea => 'BLOB', );