[feature/migrations] Make sure migration data not done before running data step

PHPBB3-9737