create table device_security
(
    device_id   varchar(64) not null
        primary key,
    level       int         not null,
    details     json        not null,
    create_time datetime    not null,
    update_time datetime    not null
);