how i set one field to primary key.
is there any function to set ?