create table event_analysis_template ( id bigint auto_increment primary key, name varchar(255) collate utf8mb4_unicode_ci not null comment '模版名', content json not null comment '模版json', type varchar(255) not null comment '模版类型(事件分析、留存分析)', source varchar(255) not null comment '模版来源(预置模版,自定义模板)', source_id varchar(255) null comment '来源用户id', status int default 0 not null, create_time datetime not null, update_time datetime not null, remark varchar(255) null comment '备注' );