[ADD] constraint to ensure unique default code from now on

Merged Javier Vescio requested to merge T1567 into 11.0-stage

Merge request reports