mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-04 20:52:43 +01:00
ef1340bd32
Summary: Ref PHI1292. Enable fulltext searchs in paste. Maybe this should only index a snippet instead of the entire content? Also updates table names in `PhabricatorPasteQuery`. Test Plan: Created some pastes, indexed them, searched for them. Reviewers: amckinley Subscribers: codeblock, Korvin, PHID-OPKG-gm6ozazyms6q6i22gyam Differential Revision: https://secure.phabricator.com/D20650
9 lines
347 B
SQL
9 lines
347 B
SQL
CREATE TABLE {$NAMESPACE}_paste.paste_paste_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};
|