# choose profile to use (`in-portal.full` or `in-portal.community`)
# checkout In-Portal 5.1.x using chosen profile
# checkout In-Portal 5.2.x via `in-portal` module and then run `php /tools/configure_profile.php profile_name` script using chosen profile
# install In-Portal 5.1.x
# copy over `/system/config.php` file from In-Portal 5.1.x installation to In-Portal 5.2.x installation
# open `/core/install.php` in the In-Portal 5.2.x installation
# perform upgrade with Debugger enabled
# confirm, that SQLs with `WHERE TemplateId =` were not called
# confirm, that after upgrade the `EmailTemplates` table has non-empty `HtmlBody` column