If any field has the property default: false, after the first migration
creating the field, all subsequent hobo generated migrations include
a command to change the column to default: false even though it already
has default: false.
This PR fixes the problem which was caused by the database schema
interrogation returning a property of "false" for the default instead of the
boolean value false.
The fix is to specially compare boolean default values by converting
them to strings prior to comparison so that false becomes "false" which
will compare equivalent to "false".
If any field has the property default: false, after the first migration creating the field, all subsequent hobo generated migrations include a command to change the column to default: false even though it already has default: false.
This PR fixes the problem which was caused by the database schema interrogation returning a property of "false" for the default instead of the boolean value false.
The fix is to specially compare boolean default values by converting them to strings prior to comparison so that false becomes "false" which will compare equivalent to "false".