mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-15 11:22:40 +01:00
adde4089b4
Summary: Depends on D19182. Ref T11015. This changes `path` from `text255` to `longtext` because paths may be arbitrarily long. It adds `pathDisplay` to prepare for display paths and storage paths having different values. For now, `pathDisplay` is copied from `path` and always has the same value. Test Plan: - Ran migration, checked database for sanity (all `pathDisplay` and `path` values identical). - Added new paths, saw `pathDisplay` and `path` get the same values. - Added an unreasonably enormous path with far more than 255 characters. Maniphest Tasks: T11015 Differential Revision: https://secure.phabricator.com/D19183
2 lines
106 B
SQL
2 lines
106 B
SQL
ALTER TABLE {$NAMESPACE}_owners.owners_path
|
|
CHANGE path path LONGTEXT NOT NULL COLLATE {$COLLATE_TEXT};
|