1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-29 18:22:41 +01:00
phorge-phorge/resources/sql/autopatches/20220510.file.01.attach.sql

10 lines
385 B
MySQL
Raw Normal View History

CREATE TABLE {$NAMESPACE}_file.file_attachment (
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
objectPHID VARBINARY(64) NOT NULL,
filePHID VARBINARY(64) NOT NULL,
attacherPHID VARBINARY(64),
attachmentMode VARCHAR(32) NOT NULL COLLATE {$COLLATE_TEXT},
dateCreated INT UNSIGNED NOT NULL,
dateModified INT UNSIGNED NOT NULL
) ENGINE=InnoDB, COLLATE {$COLLATE_TEXT};