app migrate: Use = instead of LIKE as described in the comment above.

The LIKE operator is not defined on integers (probably any non-text) columns
on PostgreSQL.
Merge pull request #4228 from owncloud/fix-3836

app migrate: Use = instead of LIKE as described in the comment above.