diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-07-24 14:35:09 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-07-24 14:35:09 -0700 |
commit | 40432379f04f6206b8e9a76a80c592887c60f10c (patch) | |
tree | c461ca0e27674b15439b72d5ee49f1fca5d31482 | |
parent | 72891d1753adf47e0318049c19a501c89c24f0cd (diff) |
allow duplicate contact email addresses for different contacts, RT#24148
-rw-r--r-- | FS/FS/Schema.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm index 40e104bc6..b98796369 100644 --- a/FS/FS/Schema.pm +++ b/FS/FS/Schema.pm @@ -1258,7 +1258,7 @@ sub tables_hashref { 'emailaddress', 'varchar', '', $char_d, '', '', ], 'primary_key' => 'contactemailnum', - 'unique' => [ [ 'emailaddress' ], ], + 'unique' => [ [ 'contactnum', 'emailaddress' ], ], 'index' => [], }, |