mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-15 19:32:40 +01:00
f40f3ca74c
Summary: Ref T12819. Adds storage and indexing for the Ferret engine to Differential. Test Plan: Ran `bin/search index D123 --force`, saw indexes appear in database. No UI/user impact yet. Reviewers: chad Reviewed By: chad Maniphest Tasks: T12819 Differential Revision: https://secure.phabricator.com/D18540
8 lines
427 B
SQL
8 lines
427 B
SQL
CREATE TABLE {$NAMESPACE}_differential.differential_revision_ffield (
|
|
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
|
documentID INT UNSIGNED NOT NULL,
|
|
fieldKey VARCHAR(4) NOT NULL COLLATE {$COLLATE_TEXT},
|
|
rawCorpus LONGTEXT NOT NULL COLLATE {$COLLATE_SORT},
|
|
termCorpus LONGTEXT NOT NULL COLLATE {$COLLATE_SORT},
|
|
normalCorpus LONGTEXT NOT NULL COLLATE {$COLLATE_SORT}
|
|
) ENGINE=InnoDB, COLLATE {$COLLATE_TEXT};
|