mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-15 10:00:55 +01:00
cbde56cdce
Summary: It isn't deleted by `storage destroy`. This should be a no-op on current storage because we execute `CREATE DATABASE IF NOT EXISTS`. Test Plan: $ bin/storage destroy --dryrun Reviewers: nh, epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D3659
13 lines
559 B
SQL
13 lines
559 B
SQL
CREATE TABLE {$NAMESPACE}_xhprof.xhprof_sample (
|
|
`id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
|
`filePHID` VARCHAR(64) NOT NULL COLLATE utf8_bin,
|
|
`sampleRate` INT NOT NULL,
|
|
`usTotal` BIGINT UNSIGNED NOT NULL,
|
|
`hostname` VARCHAR(255) COLLATE utf8_bin,
|
|
`requestPath` VARCHAR(255) COLLATE utf8_bin,
|
|
`controller` VARCHAR(255) COLLATE utf8_bin,
|
|
`userPHID` VARCHAR(64) COLLATE utf8_bin,
|
|
`dateCreated` BIGINT UNSIGNED NOT NULL,
|
|
`dateModified` BIGINT UNSIGNED NOT NULL,
|
|
UNIQUE KEY (filePHID)
|
|
) ENGINE=InnoDB, COLLATE utf8_general_ci;
|