Steps to Reproduce:
Actual Results:
Migration fails for business_script_version table with error below.
ERROR: column "skip_failure" is of type integer but expression is of type boolean
Hint: You will need to rewrite or cast the expression.
Expected Results:
Utility should run fine and take care of any data conversion.
3.9.x
Fixed in next release for migrator utility,
Workaround:
Change datatype of skip_failure in MySQL temporarily for migration for tables business_scripts and business_script_version table.
ALTER TABLE business_script_versions CHANGE COLUMN skip_failure skip_failure INT NULL DEFAULT 1 COMMENT '0-False, 1 - True';
ALTER TABLE business_scripts CHANGE COLUMN skip_failure skip_failure INT NULL DEFAULT 1 COMMENT '0-False, 1 - True';
RUN MIGRATION and ROLLBACK the datatype change.
ALTER TABLE business_script_versions CHANGE COLUMN skip_failure skip_failure TINYINT(1) NULL DEFAULT 1 COMMENT '0-False, 1 - True';
ALTER TABLE business_scripts CHANGE COLUMN skip_failure skip_failure TINYINT(1) NULL DEFAULT 1 COMMENT '0-False, 1 - True';