summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-12-30 14:27:51 -0800
committerIvan Kohler <ivan@freeside.biz>2013-12-30 14:27:51 -0800
commite3fc2789a074dc4a64bc16651f72b343b4d3a4c4 (patch)
treec01e02656afc812f549e2391b1f3d25ce194dd0e /FS
parentc9450c02f7ac2f904a6ffabb07b6b2d5bca1fd4a (diff)
unique contact emails, RT#25533
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/Schema.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm
index 848e9bb38..60a143b24 100644
--- a/FS/FS/Schema.pm
+++ b/FS/FS/Schema.pm
@@ -1251,7 +1251,8 @@ sub tables_hashref {
'emailaddress', 'varchar', '', $char_d, '', '',
],
'primary_key' => 'contactemailnum',
- 'unique' => [ [ 'contactnum', 'emailaddress' ], ],
+ #'unique' => [ [ 'contactnum', 'emailaddress' ], ],
+ 'unique' => [ [ 'emailaddress' ], ],
'index' => [],
},