mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 08:12:40 +01:00
3ff9d4a4ca
Summary: Ref T12819. Adds support for indexing user accounts so they appear in global fulltext results. Also, always rank users ahead of other results. Test Plan: Indexed users. Searched for a user, got that user. Reviewers: chad Reviewed By: chad Maniphest Tasks: T12819 Differential Revision: https://secure.phabricator.com/D18552
9 lines
344 B
SQL
9 lines
344 B
SQL
CREATE TABLE {$NAMESPACE}_user.user_user_fdocument (
|
|
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
|
objectPHID VARBINARY(64) NOT NULL,
|
|
isClosed BOOL NOT NULL,
|
|
authorPHID VARBINARY(64),
|
|
ownerPHID VARBINARY(64),
|
|
epochCreated INT UNSIGNED NOT NULL,
|
|
epochModified INT UNSIGNED NOT NULL
|
|
) ENGINE=InnoDB, COLLATE {$COLLATE_TEXT};
|