Fixed 'require' in migrate