1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 08:12:40 +01:00
phorge-phorge/resources/sql/patches/036.mailkey.sql

20 lines
617 B
MySQL
Raw Normal View History

ALTER TABLE {$NAMESPACE}_differential.differential_revision
ADD mailKey VARCHAR(40) binary NOT NULL;
ALTER TABLE {$NAMESPACE}_maniphest.maniphest_task
ADD mailKey VARCHAR(40) binary NOT NULL;
CREATE TABLE {$NAMESPACE}_metamta.metamta_receivedmail (
id int unsigned not null primary key auto_increment,
headers longblob not null,
bodies longblob not null,
attachments longblob not null,
relatedPHID varchar(64) binary,
key(relatedPHID),
authorPHID varchar(64) binary,
key(authorPHID),
message longblob,
dateCreated int unsigned not null,
dateModified int unsigned not null
) engine=innodb;