create table wb_role
(
    ROLE_ID   varchar(13)  not null
        primary key,
    ROLE_NAME varchar(100) not null,
    REMARK    text         not null,
    STATUS    decimal(1)   not null,
    constraint WB_ROLE_ROLE_NAME
        unique (ROLE_NAME)
);

create index WB_ROLE_STATUS
    on wb_role (STATUS);

INSERT INTO ag_devmysql.wb_role (ROLE_ID, ROLE_NAME, REMARK, STATUS) VALUES ('admin', '基本权限', '基础权限。', 1);
INSERT INTO ag_devmysql.wb_role (ROLE_ID, ROLE_NAME, REMARK, STATUS) VALUES ('administrator', '超级管理员', '超级管理员', 1);
INSERT INTO ag_devmysql.wb_role (ROLE_ID, ROLE_NAME, REMARK, STATUS) VALUES ('default', '默认', '每个用户都具有的角色。', 1);
INSERT INTO ag_devmysql.wb_role (ROLE_ID, ROLE_NAME, REMARK, STATUS) VALUES ('fee', '费收管理员', '1', 1);
INSERT INTO ag_devmysql.wb_role (ROLE_ID, ROLE_NAME, REMARK, STATUS) VALUES ('shao', '测试角色shao', '测试角色shao', 1);
