1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-23 22:10:55 +01:00
phorge-phorge/resources/sql/patches/100.projectxaction.sql

12 lines
398 B
MySQL
Raw Normal View History

CREATE TABLE {$NAMESPACE}_project.project_transaction (
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
projectID INT UNSIGNED NOT NULL,
authorPHID VARCHAR(64) BINARY NOT NULL,
transactionType VARCHAR(32) NOT NULL,
oldValue LONGBLOB NOT NULL,
newValue LONGBLOB NOT NULL,
dateCreated INT UNSIGNED NOT NULL,
dateModified INT UNSIGNED NOT NULL,
KEY (projectID)
) ENGINE=InnoDB;