I don't want to alter table for constraint if constraints already exists. Just ignore it
alter table test.student add constraint student_name_key unique (student_name);
In My case constraint names are present like below, not sure which is of which one.
Note: I use below one, still not working
ALTER TABLE test.student add CONSTRAINT IF not EXISTS student_name_key ;