Unique constraint migration

Thanks, I’ll give this a try!