mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-24 14:30:56 +01:00
dd3b3bdd5e
Summary: Added the initial storage structure (DB tables and DAO classes) for Phrequent. Test Plan: Apply the patch and run `bin/storage upgrade`. It should complete successfully. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Maniphest Tasks: T2857 Differential Revision: https://secure.phabricator.com/D5476
10 lines
429 B
SQL
10 lines
429 B
SQL
CREATE TABLE {$NAMESPACE}_phrequent.phrequent_usertime (
|
|
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
|
userPHID VARCHAR(64) NOT NULL COLLATE utf8_bin,
|
|
objectPHID VARCHAR(64) NULL COLLATE utf8_bin,
|
|
note LONGTEXT NULL COLLATE utf8_bin,
|
|
dateStarted INT UNSIGNED NOT NULL,
|
|
dateEnded INT UNSIGNED NULL,
|
|
dateCreated INT UNSIGNED NOT NULL,
|
|
dateModified INT UNSIGNED NOT NULL
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|