mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-23 15:22:41 +01:00
7ad2eae47f
Summary: Enable saved query objects to actually be saved to the database. Test Plan: Insert a call to save() and check that the query is written correctly. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin, AnhNhan Maniphest Tasks: T2625 Differential Revision: https://secure.phabricator.com/D5775 Conflicts: src/infrastructure/storage/patch/PhabricatorBuiltinPatchList.php
11 lines
437 B
SQL
11 lines
437 B
SQL
CREATE TABLE {$NAMESPACE}_search.search_savedquery (
|
|
id INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
|
engineClassName VARCHAR(255) NOT NULL COLLATE utf8_bin,
|
|
parameters LONGTEXT NOT NULL COLLATE utf8_bin,
|
|
dateCreated INT(10) UNSIGNED NOT NULL,
|
|
dateModified INT(10) UNSIGNED NOT NULL,
|
|
queryKey VARCHAR(12) NOT NULL COLLATE utf8_bin,
|
|
PRIMARY KEY(id),
|
|
UNIQUE KEY key_queryKey (queryKey)
|
|
)
|
|
ENGINE=InnoDB, COLLATE utf8_general_ci
|