[freeside-commits] branch FREESIDE_3_BRANCH updated. 8232bafea84d89d7868c886821a06ac3b0c8e7c9
Ivan
ivan at 420.am
Wed Jul 24 14:35:11 PDT 2013
The branch, FREESIDE_3_BRANCH has been updated
via 8232bafea84d89d7868c886821a06ac3b0c8e7c9 (commit)
from e716d2c9a2f213caf3ff767546804f26dd1d3d6d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 8232bafea84d89d7868c886821a06ac3b0c8e7c9
Author: Ivan Kohler <ivan at freeside.biz>
Date: Wed Jul 24 14:35:10 2013 -0700
allow duplicate contact email addresses for different contacts, RT#24148
diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm
index 984ac8a..41d3d80 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' => [],
},
-----------------------------------------------------------------------
Summary of changes:
FS/FS/Schema.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
More information about the freeside-commits
mailing list