added support for bit(1) column types to be converted to pg boolean
authorMichael Kimsal <mgkimsal@gmail.com>
Fri, 19 Mar 2010 20:34:41 +0000 (16:34 -0400)
committerMichael Kimsal <mgkimsal@gmail.com>
Fri, 19 Mar 2010 20:34:41 +0000 (16:34 -0400)
mysql2psql

index 12a22e0..8f69b1a 100755 (executable)
@@ -33,6 +33,8 @@ class MysqlReader
       case type
       when /bigint/
         "bigint"
+      when "bit(1)"
+        "boolean"
       when "tinyint(1)"
         "boolean"
       when /tinyint/