Enforce uniqueness of attachments in websql
Fixed the example in Safari