[fix/generate_migrations_data] fix script generate_migrations_data