We forgot to actually store the donation tracking data when refactoring.
Acceptance Criteria
- The donation_tracking table contains tracking values when a donation gets stored
- When a donation is read, the code first tries to read from trackingInfo and then falls back to legacy data blob data
- Existing donations are migrated (no no-symlink deployment needed)
Data migration on deployment
- create the file migrations-db.php file in the project root directory (current-release), with PDO connection data returned as an array. You can convert the db section from the JSON configuration file into PHP syntax.
- run data migration script: php8.4 -d display_errors=1 -d memory_limit=4G vendor/wmde/fundraising-donations/bin/migrate-donation-tracking-data.
