mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-28 08:20:57 +01:00
3c1f402da3
Summary: Can name saved queries. Test Plan: Try naming some saved queries using the form. Reviewers: epriestley CC: aran, Korvin, AnhNhan Maniphest Tasks: T2625 Differential Revision: https://secure.phabricator.com/D5878 Conflicts: src/infrastructure/storage/patch/PhabricatorBuiltinPatchList.php
12 lines
520 B
SQL
12 lines
520 B
SQL
CREATE TABLE {$NAMESPACE}_search.search_namedquery (
|
|
id INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
|
userPHID VARCHAR(64) NOT NULL COLLATE utf8_bin,
|
|
engineClassName VARCHAR(128) NOT NULL COLLATE utf8_bin,
|
|
queryName VARCHAR(255) NOT NULL COLLATE utf8_bin,
|
|
queryKey VARCHAR(12) NOT NULL COLLATE utf8_bin,
|
|
dateCreated INT(10) UNSIGNED NOT NULL,
|
|
dateModified INT(10) UNSIGNED NOT NULL,
|
|
UNIQUE KEY `key_userquery` (userPHID, engineClassName, queryKey),
|
|
PRIMARY KEY(id)
|
|
)
|
|
ENGINE=InnoDB, COLLATE utf8_general_ci
|