不要怂,就是干,撸起袖子干!

Commit c057c662 by Sohum Banerjea

use bytea for BINARY fields

1 parent 6340df70
Showing with 1 additions and 1 deletions
...@@ -789,7 +789,7 @@ module.exports = (function() { ...@@ -789,7 +789,7 @@ module.exports = (function() {
dataType = dataType.replace(/NOT NULL/, '') dataType = dataType.replace(/NOT NULL/, '')
} }
if (dataType.lastIndexOf('BLOB') !== -1) { if (dataType.lastIndexOf('BLOB') !== -1 || dataType.lastIndexOf('BINARY') !== -1) {
dataType = 'bytea' dataType = 'bytea'
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!