[freeside-commits] branch master updated. 40432379f04f6206b8e9a76a80c592887c60f10c

Ivan ivan at 420.am
Wed Jul 24 14:35:10 PDT 2013


The branch, master has been updated
       via  40432379f04f6206b8e9a76a80c592887c60f10c (commit)
      from  72891d1753adf47e0318049c19a501c89c24f0cd (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 40432379f04f6206b8e9a76a80c592887c60f10c
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Jul 24 14:35:09 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 40e104b..b987963 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'       => [],
     },
 

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/Schema.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)




More information about the freeside-commits mailing list