Unique index for snippets