add migration to change duplication