[Data checks] Run data checks before migrations
Add a feature to data checks to mark as critical before migrations and make the migration system to run these data checks before migrations are attempted.
Add a feature to data checks to mark as critical before migrations and make the migration system to run these data checks before migrations are attempted.