Merge pull request #71 from mareksapota-fb/master
Pull request for differential revision D1014
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
CREATE DATABASE phabricator_herald;
|
CREATE DATABASE IF NOT EXISTS phabricator_herald;
|
||||||
|
|
||||||
CREATE TABLE phabricator_herald.herald_action (
|
CREATE TABLE phabricator_herald.herald_action (
|
||||||
id int unsigned not null auto_increment primary key,
|
id int unsigned not null auto_increment primary key,
|
||||||
@@ -41,4 +41,4 @@ CREATE TABLE phabricator_herald.herald_transcript (
|
|||||||
conditionTranscripts longblob not null,
|
conditionTranscripts longblob not null,
|
||||||
applyTranscripts longblob not null,
|
applyTranscripts longblob not null,
|
||||||
unique key (phid)
|
unique key (phid)
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
CREATE DATABASE phabricator_owners;
|
CREATE DATABASE IF NOT EXISTS phabricator_owners;
|
||||||
|
|
||||||
CREATE TABLE phabricator_owners.owners_package (
|
CREATE TABLE phabricator_owners.owners_package (
|
||||||
id int unsigned not null auto_increment primary key,
|
id int unsigned not null auto_increment primary key,
|
||||||
@@ -24,4 +24,4 @@ CREATE TABLE phabricator_owners.owners_path (
|
|||||||
key(packageID),
|
key(packageID),
|
||||||
repositoryPHID varchar(64) binary not null,
|
repositoryPHID varchar(64) binary not null,
|
||||||
path varchar(255) not null
|
path varchar(255) not null
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
CREATE DATABASE phabricator_xhpastview;
|
CREATE DATABASE IF NOT EXISTS phabricator_xhpastview;
|
||||||
CREATE TABLE phabricator_xhpastview.xhpastview_parsetree (
|
CREATE TABLE phabricator_xhpastview.xhpastview_parsetree (
|
||||||
id int unsigned not null auto_increment primary key,
|
id int unsigned not null auto_increment primary key,
|
||||||
authorPHID varchar(64) binary,
|
authorPHID varchar(64) binary,
|
||||||
@@ -6,4 +6,4 @@ CREATE TABLE phabricator_xhpastview.xhpastview_parsetree (
|
|||||||
stdout longblob not null,
|
stdout longblob not null,
|
||||||
dateCreated int unsigned not null,
|
dateCreated int unsigned not null,
|
||||||
dateModified int unsigned not null
|
dateModified int unsigned not null
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
CREATE DATABASE phabricator_pastebin;
|
CREATE DATABASE IF NOT EXISTS phabricator_pastebin;
|
||||||
|
|
||||||
CREATE TABLE phabricator_pastebin.pastebin_paste (
|
CREATE TABLE phabricator_pastebin.pastebin_paste (
|
||||||
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||||||
@@ -14,4 +14,4 @@ INSERT INTO phabricator_directory.directory_item
|
|||||||
(name, description, href, categoryID, sequence, dateCreated, dateModified)
|
(name, description, href, categoryID, sequence, dateCreated, dateModified)
|
||||||
VALUES
|
VALUES
|
||||||
("Paste", "Mmm... tasty, delicious paste.", "/paste/", 5, 150,
|
("Paste", "Mmm... tasty, delicious paste.", "/paste/", 5, 150,
|
||||||
UNIX_TIMESTAMP(), UNIX_TIMESTAMP());
|
UNIX_TIMESTAMP(), UNIX_TIMESTAMP());
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
CREATE DATABASE phabricator_countdown;
|
CREATE DATABASE IF NOT EXISTS phabricator_countdown;
|
||||||
|
|
||||||
CREATE TABLE phabricator_countdown.countdown_timer (
|
CREATE TABLE phabricator_countdown.countdown_timer (
|
||||||
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
CREATE DATABASE phabricator_feed;
|
CREATE DATABASE IF NOT EXISTS phabricator_feed;
|
||||||
|
|
||||||
CREATE TABLE phabricator_feed.feed_storydata (
|
CREATE TABLE phabricator_feed.feed_storydata (
|
||||||
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
CREATE DATABASE phabricator_slowvote;
|
CREATE DATABASE IF NOT EXISTS phabricator_slowvote;
|
||||||
|
|
||||||
CREATE TABLE phabricator_slowvote.slowvote_poll (
|
CREATE TABLE phabricator_slowvote.slowvote_poll (
|
||||||
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||||||
@@ -47,4 +47,4 @@ INSERT INTO phabricator_directory.directory_item
|
|||||||
(name, description, href, categoryID, sequence, dateCreated, dateModified)
|
(name, description, href, categoryID, sequence, dateCreated, dateModified)
|
||||||
VALUES
|
VALUES
|
||||||
("Slowvote", "Design by committee.", "/vote/", 5, 250,
|
("Slowvote", "Design by committee.", "/vote/", 5, 250,
|
||||||
UNIX_TIMESTAMP(), UNIX_TIMESTAMP());
|
UNIX_TIMESTAMP(), UNIX_TIMESTAMP());
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
CREATE DATABASE phabricator_phriction;
|
CREATE DATABASE IF NOT EXISTS phabricator_phriction;
|
||||||
|
|
||||||
CREATE TABLE phabricator_phriction.phriction_document (
|
CREATE TABLE phabricator_phriction.phriction_document (
|
||||||
id INT UNSIGNED NOT NULL,
|
id INT UNSIGNED NOT NULL,
|
||||||
@@ -9,4 +9,4 @@ CREATE TABLE phabricator_phriction.phriction_document (
|
|||||||
depth INT UNSIGNED NOT NULL,
|
depth INT UNSIGNED NOT NULL,
|
||||||
UNIQUE KEY (depth, slug),
|
UNIQUE KEY (depth, slug),
|
||||||
contentID INT UNSIGNED NOT NULL
|
contentID INT UNSIGNED NOT NULL
|
||||||
) ENGINE=InnoDB;
|
) ENGINE=InnoDB;
|
||||||
|
|||||||
Reference in New Issue
Block a user