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
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

catorghans’s picture

FileSize
295 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