mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 01:27:03 +02:00
added spam result detection support
This commit is contained in:
@ -35,6 +35,7 @@ create table if not exists `metadata` (
|
||||
`from` char(255) not null,
|
||||
`fromdomain` char(48) not null,
|
||||
`subject` text(512) default null,
|
||||
`spam` tinyint(1) default 0,
|
||||
`arrived` int not null,
|
||||
`sent` int not null,
|
||||
`deleted` tinyint(1) default 0,
|
||||
@ -221,3 +222,8 @@ create table if not exists `audit` (
|
||||
primary key (`id`)
|
||||
) ENGINE=InnoDB;
|
||||
|
||||
create index `audit_idx` on `audit`(`email`);
|
||||
create index `audit_idx2` on `audit`(`action`);
|
||||
create index `audit_idx3` on `audit`(`ipaddr`);
|
||||
create index `audit_idx4` on `audit`(`ts`);
|
||||
|
||||
|
Reference in New Issue
Block a user