mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 14:52:41 +01:00
89d038f53e
Summary: Ref T13275. Add portals to the search index so that: - they show up in fulltext global search; and - the typeahead actually uses an index. Also make them taggable with projects as an organizational aid. Test Plan: Indexed portals with `bin/serach index`, searched for a portal with "Query", with fulltext search in main menu, with typehead on "Install Dashboard...", changed the name of a portal and searched again to check that the index updates properly. Reviewers: amckinley Reviewed By: amckinley Subscribers: PHID-OPKG-gm6ozazyms6q6i22gyam Maniphest Tasks: T13275 Differential Revision: https://secure.phabricator.com/D20389
9 lines
356 B
SQL
9 lines
356 B
SQL
CREATE TABLE {$NAMESPACE}_dashboard.dashboard_portal_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};
|