fix search lucene migration on oracle
replace hardcoded SQL with placeholder
Merge pull request #1554 from owncloud/fix_search_lucene_migration_on_oracle_stable5

Fix search lucene migration on oracle stable6