[freeside-commits] branch FREESIDE_3_BRANCH updated. e3fc2789a074dc4a64bc16651f72b343b4d3a4c4

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


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

    unique contact emails, RT#25533

diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm
index 848e9bb..60a143b 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'       => [],
     },
 

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

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




More information about the freeside-commits mailing list