Add a context field to symbol objects

Summary:
See T1602.

This is just the minimal functional patch; the scripts will continue
working because of the `DEFAULT ''`.

Test Plan:
Can't fully test this until I get more code working, but
nothing broke horribly yet.

Reviewers: epriestley

Reviewed By: epriestley

CC: nh, aran, Korvin

Maniphest Tasks: T1602

Differential Revision: https://secure.phabricator.com/D3147
This commit is contained in:
Alan Huang
2012-08-06 12:20:45 -07:00
parent 251438b2c2
commit bcb9de4ea1
3 changed files with 8 additions and 0 deletions

View File

@@ -27,6 +27,7 @@
final class PhabricatorRepositorySymbol extends PhabricatorRepositoryDAO {
protected $arcanistProjectID;
protected $symbolContext;
protected $symbolName;
protected $symbolType;
protected $symbolLanguage;

View File

@@ -936,6 +936,10 @@ final class PhabricatorBuiltinPatchList extends PhabricatorSQLPatchList {
'type' => 'sql',
'name' => $this->getPatchPath('daemonstatus.sql'),
),
'symbolcontexts.sql' => array(
'type' => 'sql',
'name' => $this->getPatchPath('symbolcontexts.sql'),
),
);
}