

create table if not exists email_send_log
(
	id serial not null
		constraint email_send_log_pk
			primary key,
	time timestamp not null,
	push_config_id integer not null,
	tactics varchar(32),
	tactics_params jsonb,
	project_correlation_id integer not null,
	to_pep_user_ids integer[] not null
);

comment on table email_send_log is 'EM推送日志';

alter table email_send_log owner to postgres;

create unique index if not exists email_send_log_id_uindex
	on email_send_log (id);






