2012-04-30 16:53:53 +02:00
|
|
|
INSERT INTO {$NAMESPACE}_differential.differential_auxiliaryfield
|
2011-08-18 21:45:59 +02:00
|
|
|
(revisionPHID, name, value, dateCreated, dateModified)
|
|
|
|
SELECT phid, 'phabricator:blame-revision', blameRevision,
|
|
|
|
dateCreated, dateModified
|
2012-04-30 16:53:53 +02:00
|
|
|
FROM {$NAMESPACE}_differential.differential_revision
|
2011-08-18 21:45:59 +02:00
|
|
|
WHERE blameRevision != '';
|
|
|
|
|
2012-04-30 16:53:53 +02:00
|
|
|
ALTER TABLE {$NAMESPACE}_differential.differential_revision
|
2011-08-18 21:45:59 +02:00
|
|
|
DROP blameRevision;
|
|
|
|
|
|
|
|
|
2012-04-30 16:53:53 +02:00
|
|
|
INSERT INTO {$NAMESPACE}_differential.differential_auxiliaryfield
|
2011-08-18 21:45:59 +02:00
|
|
|
(revisionPHID, name, value, dateCreated, dateModified)
|
|
|
|
SELECT phid, 'phabricator:revert-plan', revertPlan,
|
|
|
|
dateCreated, dateModified
|
2012-04-30 16:53:53 +02:00
|
|
|
FROM {$NAMESPACE}_differential.differential_revision
|
2011-08-18 21:45:59 +02:00
|
|
|
WHERE revertPlan != '';
|
|
|
|
|
2012-04-30 16:53:53 +02:00
|
|
|
ALTER TABLE {$NAMESPACE}_differential.differential_revision
|
2011-08-18 21:45:59 +02:00
|
|
|
DROP revertPlan;
|