Add support for migration checks.
Run migration from the code dirs(needed for CMS because of dealer.)