Proper format for key on attach, migrate user_version