1
0
Fork 0
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:
Afaque Hussain 2013-03-19 15:00:44 -07:00 committed by epriestley
parent 3b801fa567
commit 77a8765824
3 changed files with 8 additions and 0 deletions

View file

@ -0,0 +1,2 @@
ALTER TABLE {$NAMESPACE}_file.file
ADD isExplicitUpload BOOLEAN DEFAULT TRUE;

View file

@ -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(

View file

@ -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'),
),
); );
} }