Add constraint for db tagging