mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-29 18:22:41 +01:00
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:
parent
3b801fa567
commit
77a8765824
3 changed files with 8 additions and 0 deletions
|
@ -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'),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue