dbDelta() Error – Incorrect index name ” for query ALTER TABLE

You need to give it a name as well.

UNIQUE KEY rowid (rowid)

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)