[freeside-commits] branch master updated. d535444f90993fb7b16928e3f2f342603016623b

Ivan ivan at 420.am
Mon Dec 30 14:27:44 PST 2013


The branch, master has been updated
       via  d535444f90993fb7b16928e3f2f342603016623b (commit)
      from  cb6cca67db487271ce96b49289ada58691a2067d (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 d535444f90993fb7b16928e3f2f342603016623b
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Dec 30 14:27:43 2013 -0800

    unique contact emails, RT#25533

diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm
index 301111d..862e40a 100644
--- a/FS/FS/Schema.pm
+++ b/FS/FS/Schema.pm
@@ -1739,7 +1739,8 @@ sub tables_hashref {
         'emailaddress',   'varchar', '', $char_d, '', '',
       ],
       'primary_key'  => 'contactemailnum',
-      'unique'       => [ [ 'contactnum', 'emailaddress' ], ],
+      #'unique'       => [ [ 'contactnum', 'emailaddress' ], ],
+      'unique'       => [ [ 'emailaddress' ], ],
       'index'        => [],
       'foreign_keys' => [
                           { columns    => [ 'contactnum' ],

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

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




More information about the freeside-commits mailing list