What I need is a migration to apply unique constraint to a combination of columns. i.e. for a people
table, a combination of first_name
, last_Name
and Dob
should be unique.
What I need is a migration to apply unique constraint to a combination of columns. i.e. for a people
table, a combination of first_name
, last_Name
and Dob
should be unique.