I ran into a problem when dumping an Oracle DB into yml - booleans were always returned as false. This is because they are always stored as 1-bit integers (i.e. 1 or 0) in Oracle-land.
I've refactored convert_booleans to call convert_boolean to determine a given values boolean equivalent, added test cases for the code and allowing boolean true and integer 1 to be transformed to boolean true.
Hey guys,
I ran into a problem when dumping an Oracle DB into yml - booleans were always returned as false. This is because they are always stored as 1-bit integers (i.e. 1 or 0) in Oracle-land.
I've refactored convert_booleans to call convert_boolean to determine a given values boolean equivalent, added test cases for the code and allowing boolean true and integer 1 to be transformed to boolean true.
Hope there's enough for you to merge in!
Thanks for yaml_db, it's very helpful our team.