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 want to create a new table per domain for table "users_roles".
I do have an array of prefixes in settings.php with also an prefix for "default"
It starts like
$db_prefix = array(
'default' => 'crm_',
'civicrm_relationship' => '',
'civicrm_contact' => '',
The following table for the 2nd domain is created:
crm_domain_2_users_roles
But the prefix array created in the domain_prefix module contains
domain_2_users_roles
Comment | File | Size | Author |
---|---|---|---|
#1 | domain_prefix.patch | 295 bytes | catorghans |
Comments
Comment #1
catorghans CreditAttribution: catorghans commentedI have a patch.
It checks if a 'default' exists or if that same table exists in the prefix array and adds their values.
Don't forget: this is for drupal 6
Comment #2
agentrickardPatch is malformed. See http://drupal.org/patch/create