BS-2854, update unique constraint for table data_mapping for users that migrated before 1.4.0