Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CiviCRM Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
CiviCRM Core
Commits
dc5b64df
Unverified
Commit
dc5b64df
authored
2 years ago
by
Eileen McNaughton
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CRM/Upgrade/Incremental/php/FiveFiftyOne.php
+4
-0
4 additions, 0 deletions
CRM/Upgrade/Incremental/php/FiveFiftyOne.php
with
4 additions
and
0 deletions
CRM/Upgrade/Incremental/php/FiveFiftyOne.php
+
4
−
0
View file @
dc5b64df
...
...
@@ -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'
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment