From ef9c0f0a91b5e5be920b0625d9dac080e5b4db0d Mon Sep 17 00:00:00 2001 From: Janos SUTO Date: Fri, 14 Jul 2023 16:28:41 +0200 Subject: [PATCH] Tidying db-mysql.sql Signed-off-by: Janos SUTO --- util/db-mysql.sql | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/util/db-mysql.sql b/util/db-mysql.sql index 65b0aa7c..91c8e322 100644 --- a/util/db-mysql.sql +++ b/util/db-mysql.sql @@ -49,12 +49,12 @@ create table if not exists `metadata` ( ) Engine=InnoDB; create index metadata_idx on metadata(`piler_id`); -create index metadata_idx2 on metadata(`message_id`); -create index metadata_idx3 on metadata(`reference`); -create index metadata_idx4 on metadata(`bodydigest`); -create index metadata_idx5 on metadata(`deleted`); -create index metadata_idx6 on metadata(`arrived`); -create index metadata_idx7 on metadata(`retained`); +create index metadata_idx2 on metadata(`message_id`); +create index metadata_idx3 on metadata(`reference`); +create index metadata_idx4 on metadata(`bodydigest`); +create index metadata_idx5 on metadata(`deleted`); +create index metadata_idx6 on metadata(`arrived`); +create index metadata_idx7 on metadata(`retained`); create index metadata_idx8 on metadata(`fromdomain`); create index metadata_idx9 on metadata(`from`); create index metadata_idx10 on metadata(`sent`); @@ -124,7 +124,7 @@ create table if not exists `archiving_rule` ( `days` int default 0, `folder_id` int default 0, primary key (`id`), - unique(`from`,`to`,`subject`,`body`,`_size`,`size`,`attachment_name`,`attachment_type`,`_attachment_size`,`attachment_size`,`spam`) + unique(`from`,`to`,`subject`,`body`,`_size`,`size`,`attachment_name`,`attachment_type`,`_attachment_size`,`attachment_size`,`spam`) ) ENGINE=InnoDB;