Add a unique constraint on form_variables