mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-25 06:50:55 +01:00
5b2fc6a184
Summary: Removing a bunch of cache-style columns from `ReleephRequest`, where it's actually much easier to just load the information at runtime. This makes sense for migrating to `PhabricatorApplicationTransactions`, where each xaction changes one aspect of a `ReleephRequest` at a time (rather than multiple columns at once.) Test Plan: Request something, run `arc releeph` and watch the picks, pass on some RQs, run `arc releeph` and watch the reverts. Reviewers: wez, epriestley Reviewed By: epriestley CC: epriestley, aran Maniphest Tasks: T2720 Differential Revision: https://secure.phabricator.com/D5851
8 lines
312 B
SQL
8 lines
312 B
SQL
ALTER TABLE {$NAMESPACE}_releeph.releeph_request
|
|
DROP COLUMN requestCommitIdentifier,
|
|
DROP COLUMN requestCommitOrdinal,
|
|
DROP COLUMN status,
|
|
DROP COLUMN committedByUserPHID,
|
|
DROP KEY `requestIdentifierBranch`,
|
|
ADD CONSTRAINT
|
|
UNIQUE KEY `requestIdentifierBranch` (`requestCommitPHID`, `branchID`);
|