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.
I built a provision service that allows for use of 2nd database with an install in aegir (like civicrm). In order to reuse the provision back-end functions I had to modify create_site_database() and import_site_database() in db.drush.inc to allow for $creds to be passed as an argument. Similar logic applies in other database functions. Simple stuff, just allowing for the user to pass in creds instead of having them automatically generated (create) or fetched (import). Patch file attached. Use if you wish.
Comment | File | Size | Author |
---|---|---|---|
db.drush_.inc_.patch | 1 KB | ikeman |
Comments
Comment #1
anarcat CreditAttribution: anarcat commentedsounds reasonable, committed, thanks.