---
--- Upgrade script from 5.0.1d5 to 5.0.1d6
---
--- Allow control over the avatar display in chat rooms
---
--- @author Hector Romojaro (hector.romojaro@gmail.com)
--- @creation-date 26/02/2019
--- @cvs-id $Id: upgrade-5.0.1d5-5.0.1d6.sql,v 1.3 2024/09/11 06:15:49 gustafn Exp $
---

begin;

    select acs_privilege__create_privilege('chat_avatar_allow', 'Enable/disable user avatars in a chat room', null);
    select acs_privilege__add_child('chat_room_admin', 'chat_avatar_allow');

end;
