mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-30 09:20:58 +01:00
21 lines
740 B
MySQL
21 lines
740 B
MySQL
|
INSERT INTO phabricator_differential.differential_auxiliaryfield
|
||
|
(revisionPHID, name, value, dateCreated, dateModified)
|
||
|
SELECT phid, 'phabricator:blame-revision', blameRevision,
|
||
|
dateCreated, dateModified
|
||
|
FROM phabricator_differential.differential_revision
|
||
|
WHERE blameRevision != '';
|
||
|
|
||
|
ALTER TABLE phabricator_differential.differential_revision
|
||
|
DROP blameRevision;
|
||
|
|
||
|
|
||
|
INSERT INTO phabricator_differential.differential_auxiliaryfield
|
||
|
(revisionPHID, name, value, dateCreated, dateModified)
|
||
|
SELECT phid, 'phabricator:revert-plan', revertPlan,
|
||
|
dateCreated, dateModified
|
||
|
FROM phabricator_differential.differential_revision
|
||
|
WHERE revertPlan != '';
|
||
|
|
||
|
ALTER TABLE phabricator_differential.differential_revision
|
||
|
DROP revertPlan;
|