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

The LIKE operator is not defined on integer (probably any non-text) columns on PostgreSQL.

Should fix #3836 (also see comments). Needs testing.

@butonic @tomneedham