selfoss
selfoss copied to clipboard
Add unique key
unique key for mysql unique key for sqlite
we need to add unique key for pgsql
Do not we also need to handle the duplicates before adding the indexes?
Rebased this onto master and resolved conflicts.
But yeah, this still needs to handle past duplicates otherwise it will fail with PDOStatement: UNIQUE constraint failed: items.uid, items.source