1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-21 04:50:55 +01:00
phorge-phorge/resources/sql/patches/129.savedquery.sql

14 lines
471 B
MySQL
Raw Normal View History

CREATE TABLE phabricator_maniphest.maniphest_savedquery (
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
userPHID varchar(64) COLLATE utf8_bin NOT NULL,
queryKey varchar(64) COLLATE utf8_bin NOT NULL,
name varchar(128) COLLATE utf8_general_ci NOT NULL,
isDefault BOOL NOT NULL,
dateCreated INT UNSIGNED NOT NULL,
dateModified INT UNSIGNED NOT NULL,
KEY (userPHID, name),
KEY (userPHID, isDefault, name)
) ENGINE=InnoDB, COLLATE utf8_general_ci;