база ppclog:
create table log_xls_users_units (
    logdate timestamp not null default CURRENT_TIMESTAMP,
    scheme enum ('API','XLS') not null default 'API',
    uid int unsigned not null,
    cid int unsigned not null,
    ManagerUID int unsigned not null,
    AgencyUID int unsigned not null,
    units int unsigned not null,
    edit_banner int unsigned not null,
    create_banner int unsigned not null,
    edit_phrase int unsigned not null,
    create_phrase int unsigned not null,
    index (logdate)
);
