FiveFiftyOne - Enable snapshots for data modified data
authorTim Otten <totten@civicrm.org>
Tue, 14 Jun 2022 02:06:05 +0000 (19:06 -0700)
committerTim Otten <totten@civicrm.org>
Tue, 14 Jun 2022 02:06:05 +0000 (19:06 -0700)
commit511cc951dac02e257954684869486c692169810a
tree9295ebb391ad6c6a74dac5462dc7896eed76c6dd
parent3ee1c05d84d2a8394c53a2c82cd861e95e3cb35f
FiveFiftyOne - Enable snapshots for data modified data

Before
------

The 5.51.alpha upgrade modifies a some data-structures (`civicrm_mapping_*`, `civicrm_queue`),
but it doesn't take any snapshots.

After
-----

It does snapshots.

Comments
--------

Both tables should generally be quite small.

Strictly, the `civicrm_mapping_*` updates are more in-place modifications,
so that's more important.  The `civicrm_queue` changes are only adding new
columns.  But the table is so small - it doesn't hurt.

I suppose one could argue that these particular fields aren't likely to have
problems - but it's important to get in the habit of enabling snapshots so
that we have them when they do matter.
CRM/Upgrade/Incremental/php/FiveFiftyOne.php