Schema patch to add a column to Phabricator_File.file table
Summary: Added a column called explicit_upload to Phabricator_File.file table Test Plan: By chekcing locally if the the column has been added in table using mysql commands. Reviewers: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D5384
This commit is contained in:
committed by
epriestley
parent
3b801fa567
commit
77a8765824
@@ -0,0 +1,2 @@
|
|||||||
|
ALTER TABLE {$NAMESPACE}_file.file
|
||||||
|
ADD isExplicitUpload BOOLEAN DEFAULT TRUE;
|
||||||
@@ -22,6 +22,7 @@ final class PhabricatorFile extends PhabricatorFileDAO
|
|||||||
protected $storageHandle;
|
protected $storageHandle;
|
||||||
|
|
||||||
protected $ttl;
|
protected $ttl;
|
||||||
|
protected $isExplicitUpload = 1;
|
||||||
|
|
||||||
public function getConfiguration() {
|
public function getConfiguration() {
|
||||||
return array(
|
return array(
|
||||||
|
|||||||
@@ -1173,6 +1173,11 @@ final class PhabricatorBuiltinPatchList extends PhabricatorSQLPatchList {
|
|||||||
'type' => 'sql',
|
'type' => 'sql',
|
||||||
'name' => $this->getPatchPath('releeph.sql'),
|
'name' => $this->getPatchPath('releeph.sql'),
|
||||||
),
|
),
|
||||||
|
'20130319.phabricatorfileexplicitupload.sql' => array(
|
||||||
|
'type' => 'sql',
|
||||||
|
'name' => $this->getPatchPath(
|
||||||
|
'20130319.phabricatorfileexplicitupload.sql'),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user