corrected enum check on migration run