-- +migrate Up
CREATE TABLE `admin_access_controls` (
                                        `id`            INT PRIMARY KEY AUTO_INCREMENT,
                                        `actor_id`      INT NOT NULL,
                                        `actor_type`    ENUM('role', 'admin') NOT NULL, -- default?
                                        `permission`    ENUM('') NOT NULL,

                                        `created_at`    TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
                                        `updated_at`    TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
);

-- +migrate Down
DROP TABLE admin_access_controls;
