projects
/
dbsrgits/SQL-Translator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
347abf9
)
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
patch
|
blob
|
blame
|
history
diff --git
a/lib/SQL/Translator/Producer/MySQL.pm
b/lib/SQL/Translator/Producer/MySQL.pm
index
d370be4
..
4aa0e92
100644
(file)
--- 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',
);