mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 00:42:41 +01:00
1885c4e03b
Summary: Ref T10537. Generally, when users interact with Nuance items we'll dump a command into a queue and apply it in the background. This avoids race conditions with multiple users interacting with an item, which Nuance is more subject to than other applications because it has an import/external component. The "sync" command doesn't actually do anything yet. Test Plan: {F1186365} Reviewers: chad Reviewed By: chad Subscribers: Luke081515.2 Maniphest Tasks: T10537 Differential Revision: https://secure.phabricator.com/D15506
8 lines
363 B
SQL
8 lines
363 B
SQL
CREATE TABLE {$NAMESPACE}_nuance.nuance_itemcommand (
|
|
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
|
itemPHID VARBINARY(64) NOT NULL,
|
|
authorPHID VARBINARY(64) NOT NULL,
|
|
command VARCHAR(64) NOT NULL COLLATE {$COLLATE_TEXT},
|
|
parameters LONGTEXT NOT NULL COLLATE {$COLLATE_TEXT},
|
|
KEY `key_item` (itemPHID)
|
|
) ENGINE=InnoDB, COLLATE {$COLLATE_TEXT};
|