Add unique index for predb title to avoid dupes.
update schema
Merge pull request #639 from nZEDb/dev

Dev