Ashwin | #2866 | Changes to migration script.