Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
There is a field that stores that database name of a site. But its only filled in after a verify is run, this information appears to be available after install completes.
Attached patch works for me.
Comment | File | Size | Author |
---|---|---|---|
#3 | db_name-2178749-3.patch | 1.25 KB | univate |
Comments
Comment #1
univate CreditAttribution: univate commentedFound another place where this is missing - on imports.
Comment #2
univate CreditAttribution: univate commentedComment #3
univate CreditAttribution: univate commentedAnd this patch adds support for updating the db_name field for migrates.
Comment #4
univate CreditAttribution: univate commentedComment #5
helmo CreditAttribution: helmo commentedThanks, this in part also fixes #1950052: Always add a verify task after site install
I've simplified it a bit by removing your new hook implementation and moving the code to migrate/hosting_migrate.drush.inc