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