create table f_view_as
(
    id int(3) unsigned auto_increment
		primary key,
    current_user_id int(10) not null,
    current_user_type varchar(30) not null,
    view_as_user_id int(10) not null,
    view_as_user_type varchar(30) not null,
    is_deleted tinyint(1) default 0 null,
    deleted_at datetime null,
    create_date timestamp default current_timestamp() not null,
    update_date timestamp default current_timestamp() not null on update current_timestamp()
)
    charset=utf8mb3;
