set index ,set unique key