-- +migrate Up
ALTER TABLE `admin_access_controls` MODIFY COLUMN `permission`
    enum (
    'admin-register',
    'kindboxreq-accept',
    'kindboxreq-reject',
    'kindboxreq-getall',
    'kindboxreq-deliver',
    'kindboxreq-assign_sender_agent',
    'admin-getall_agent',
    'kindboxreq-get_awaiting_delivery',
    'kindbox-get',
    'kindboxreq-add',
    'kindbox-assign_receiver_agent',
    'kindbox-getall',
    'kindboxreq-update',
    'kindboxreq-get',
    'kindbox-get_awaiting_return',
    'kindbox-return',
    'kindbox-enumerate',
    'kindbox-update',
    'benefactor-getall',
    'benefactor-get',
    'refertime-getall'
    ) NOT NULL;

INSERT INTO `admin_access_controls` (`actor_id`, `actor_type`, `permission`)
VALUES (1, 'role', 'refertime-getall'),
       (2, 'role', 'refertime-getall');

-- +migrate Down
DELETE
FROM `admin_access_controls`;