create table auth_dy_config
(
    id           int auto_increment
        primary key,
    package_name varchar(255)  not null,
    app_platform int           not null,
    appid        varchar(255)  not null,
    secret       varchar(255)  not null,
    status       int default 0 not null
);

create index idx_package_platform
    on auth_dy_config (package_name, app_platform);



alter table pay_config
    add dy_app_id varchar(100) null after google_secret_path;

alter table pay_config
    add dy_token varchar(100) null after dy_app_id;

alter table pay_config
    add dy_salt varchar(100) null after dy_token;