Db index to prevent duplicates