Fix MySQL create tables problem (amavis_mysql_2.7.1.sql)

Tables msgrcpt and quarantine were not created during installation..
This commit is contained in:
emsit
2015-10-25 17:07:08 +01:00
parent b6a9743475
commit 1e91b3618e

View File

@@ -165,6 +165,7 @@ CREATE TABLE msgs (
-- mail Subject header field, UTF8 -- mail Subject header field, UTF8
host varchar(255) NOT NULL, -- hostname where amavisd is running host varchar(255) NOT NULL, -- hostname where amavisd is running
PRIMARY KEY (partition_tag,mail_id), PRIMARY KEY (partition_tag,mail_id),
INDEX (mail_id),
FOREIGN KEY (sid) REFERENCES maddr(id) ON DELETE RESTRICT FOREIGN KEY (sid) REFERENCES maddr(id) ON DELETE RESTRICT
) ENGINE=InnoDB; ) ENGINE=InnoDB;
CREATE INDEX msgs_idx_sid ON msgs (sid); CREATE INDEX msgs_idx_sid ON msgs (sid);