don't clear scenenames that are 40 char long.

pull/4/head
Keivan Beigi 10 years ago
parent 1c7f2ad29e
commit ce8cb41bac

@ -14,7 +14,6 @@ namespace NzbDrone.Core.Datastore.Migration
" ReleaseGroup IS NULL " + " ReleaseGroup IS NULL " +
" OR SceneName IS NULL " + " OR SceneName IS NULL " +
" OR ReleaseGroup =='DRONE' " + " OR ReleaseGroup =='DRONE' " +
" OR LENGTH(SceneName) == 40 " +
" OR LENGTH(SceneName) <10 " + " OR LENGTH(SceneName) <10 " +
" OR LENGTH(ReleaseGroup) > 20 " + " OR LENGTH(ReleaseGroup) > 20 " +
" OR SceneName NOT LIKE '%.%'"); " OR SceneName NOT LIKE '%.%'");

Loading…
Cancel
Save