Translate bytea to BLOB in MySQL producer. This fixes a few tests of DBIC if you...
Johannes Plunien [Mon, 9 Feb 2009 12:25:32 +0000 (12:25 +0000)]
lib/SQL/Translator/Producer/MySQL.pm

index d370be4..4aa0e92 100644 (file)
@@ -139,6 +139,11 @@ my %translate  = (
     'long integer' => 'integer',
     'text'         => 'text',
     'datetime'     => 'datetime',
+
+    #
+    # PostgreSQL types
+    #
+    bytea => 'BLOB',
 );