Add unique and indexing to tag model