Fixed migration step 150 to work in more SQL environments.