adds migration for role id and updates case classes