Skip to content
Snippets Groups Projects
Unverified Commit dc5b64df authored by Eileen McNaughton's avatar Eileen McNaughton Committed by GitHub
Browse files

Merge pull request #23783 from totten/5.51-snapshots

FiveFiftyOne - Enable snapshots for data modified data
parents 3ee1c05d 511cc951
Branches 5.81
Tags 5.81.2
No related merge requests found
......@@ -30,6 +30,10 @@ class CRM_Upgrade_Incremental_php_FiveFiftyOne extends CRM_Upgrade_Incremental_B
* The version number matching this function name
*/
public function upgrade_5_51_alpha1($rev): void {
$this->addSnapshotTask('mappings', CRM_Utils_SQL_Select::from('civicrm_mapping'));
$this->addSnapshotTask('fields', CRM_Utils_SQL_Select::from('civicrm_mapping_field'));
$this->addSnapshotTask('queues', CRM_Utils_SQL_Select::from('civicrm_queue'));
$this->addTask(ts('Upgrade DB to %1: SQL', [1 => $rev]), 'runSql', $rev);
$this->addTask(ts('Convert import mappings to use names'), 'convertMappingFieldLabelsToNames', $rev);
$this->addTask('Add column "civicrm_queue.status"', 'addColumn', 'civicrm_queue',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment