red uniqueness of period data id
green uniqueness of period data id
red user have many messagetemplates
green messagetemplate and user association, migration updated