Likes: bug fix – check for keys before creating

The likes module might have been enabled previously and then disabled
without removing the table from the database; this query ensures we
don’t try to create keys if they already exist.

This query should be database agnostic since INFORMATION_SCHEME is an
ANSI standard.