solve error to get attribute value
add migrations