diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-07-24 14:35:10 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-07-24 14:35:10 -0700 |
commit | 8232bafea84d89d7868c886821a06ac3b0c8e7c9 (patch) | |
tree | 539956dfd1b3d69226aecc71dff20e3acc897f8a /FS | |
parent | e716d2c9a2f213caf3ff767546804f26dd1d3d6d (diff) |
allow duplicate contact email addresses for different contacts, RT#24148
Diffstat (limited to 'FS')
-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 984ac8a06..41d3d809e 100644 --- a/FS/FS/Schema.pm +++ b/FS/FS/Schema.pm @@ -1195,7 +1195,7 @@ sub tables_hashref { 'emailaddress', 'varchar', '', $char_d, '', '', ], 'primary_key' => 'contactemailnum', - 'unique' => [ [ 'emailaddress' ], ], + 'unique' => [ [ 'contactnum', 'emailaddress' ], ], 'index' => [], }, |