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

CommentFileSizeAuthor
#1 domain_prefix.patch295 bytescatorghans

Comments

catorghans’s picture

StatusFileSize
new295 bytes

I 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

agentrickard’s picture

Status: Active » Needs work

Patch is malformed. See http://drupal.org/patch/create

bluegeek9’s picture

Issue summary: View changes
Status: Needs work » Closed (outdated)

Drupal 6 in End of Life and no longer supported. We encourage you to upgrade to a supported version of Drupal. For more information, see https://www.drupal.org/upgrade.

//www.flaticon.com/free-icons/thank-you Thank you for your contribution! Your continued support of this project makes other volunteer contributions more sustainable.
There are multiple ways to show appreciation for the work contributed to this project, including:
  • Triaging issues and adding more context to existing issues.
  • Writing documentation or patches for this project.