mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-22 13:30:55 +01:00
dd74903cae
Summary: Precursor to building this out to solve T343. This is similar to the Maniphest fields we landed recently, although I think they're dissimilar enough that it isn't worth going crazy trying to make them share code, at least for now. This doesn't really do anything yet, just adds a storage object and a couple of selector/field indirection classes. Test Plan: Ran SQL upgrade script, created an aux field. Reviewed By: jungejason Reviewers: jungejason, tuomaspelkonen, aran CC: aran, jungejason Differential Revision: 798
10 lines
383 B
SQL
10 lines
383 B
SQL
CREATE TABLE phabricator_differential.differential_auxiliaryfield (
|
|
id INT UNSIGNED NOT NULL auto_increment PRIMARY KEY,
|
|
revisionPHID varchar(64) BINARY NOT NULL,
|
|
name VARCHAR(32) BINARY NOT NULL,
|
|
value LONGBLOB NOT NULL,
|
|
UNIQUE KEY (revisionPHID, name),
|
|
KEY (name, value(64)),
|
|
dateCreated INT UNSIGNED NOT NULL,
|
|
dateModified INT UNSIGNED NOT NULL
|
|
) ENGINE = InnoDB;
|