mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-18 21:02:41 +01:00
758586abda
Summary: Applications come with builtin queries, but users might want to get rid of them. Allow users to disable named queries if they prefer. This has one funky behavior, which is that the first time you disable a named query it goes to the top of your list. That will be fixed in the next diff, which will make them reorderable. Test Plan: Added/edited/removed named queries, disabled/enabled builtin named queries. Reviewers: chad Reviewed By: chad CC: aran Differential Revision: https://secure.phabricator.com/D6128
8 lines
283 B
SQL
8 lines
283 B
SQL
ALTER TABLE {$NAMESPACE}_search.search_namedquery
|
|
ADD isBuiltin BOOL NOT NULL DEFAULT 0;
|
|
|
|
ALTER TABLE {$NAMESPACE}_search.search_namedquery
|
|
ADD isDisabled BOOL NOT NULL DEFAULT 0;
|
|
|
|
ALTER TABLE {$NAMESPACE}_search.search_namedquery
|
|
ADD sequence INT UNSIGNED NOT NULL DEFAULT 0;
|