mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-30 02:32:42 +01:00
15 lines
596 B
MySQL
15 lines
596 B
MySQL
|
CREATE DATABASE {$NAMESPACE}_xhprof;
|
||
|
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;
|