Fixed errors in migrations files