mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 05:50:55 +01:00
update documentation for storage changes w/ .php files
Summary: no schema changes allowed in the .php files Test Plan: viewed doc -- looked good. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Maniphest Tasks: T2059 Differential Revision: https://secure.phabricator.com/D3966
This commit is contained in:
parent
06384f5f87
commit
e40bcc8d2b
1 changed files with 5 additions and 1 deletions
|
@ -151,7 +151,11 @@ such as PHID columns. Otherwise, use `COLLATE utf8_general_ci`.
|
|||
add your patch to @{method@phabricator:PhabricatorBuiltinPatchList::getPatches}.
|
||||
# Run `bin/storage/upgrade`.
|
||||
|
||||
It is also possible to create more complex patch in PHP.
|
||||
It is also possible to create more complex patches in PHP for data migration
|
||||
(due to schema changes or otherwise.) However, the schema changes themselves
|
||||
should be done in separate `.sql` files. Order can be guaranteed by editing
|
||||
`src/infrastructure/storage/patch/PhabricatorBuiltinPatchList.php`
|
||||
appropriately.
|
||||
|
||||
See the
|
||||
[[https://secure.phabricator.com/rPb39175342dc5bee0c2246b05fa277e76a7e96ed3
|
||||
|
|
Loading…
Reference in a new issue