CRM/Upgrade - Snapshots should have name `snap_{OWNER}_{VERSION}_{NAME}`
authorTim Otten <totten@civicrm.org>
Tue, 24 May 2022 00:20:11 +0000 (17:20 -0700)
committerTim Otten <totten@civicrm.org>
Tue, 24 May 2022 05:15:10 +0000 (22:15 -0700)
commit1602aa08f85d12d70fd4ff5fd19d0f5c1092ff8e
tree7b0deafe66c229c8dff352d7c6ee2d7827a08c41
parentba3f169d7e0951b9ca051be97be05b0b5fc35cbe
CRM/Upgrade - Snapshots should have name `snap_{OWNER}_{VERSION}_{NAME}`

1. Prevents the trigger-based logging system from hitting the snapshots.
2. Makes the de-facto table names shorter (less likely to hit 64 char limit)
3. In practice, it should be easier to skim
4. Use the same pseudo-extension name that we use elsewhere (`civicrm`)
CRM/Upgrade/Form.php
CRM/Upgrade/Incremental/Base.php
CRM/Upgrade/Snapshot.php
tests/phpunit/CRM/Upgrade/SnapshotTest.php