[freeside-commits] branch FREESIDE_4_BRANCH updated. fe99f2ab76c6f941e0bad94bc50a41933bf59f3f

Ivan ivan at 420.am
Fri Jun 30 13:39:12 PDT 2017


The branch, FREESIDE_4_BRANCH has been updated
       via  fe99f2ab76c6f941e0bad94bc50a41933bf59f3f (commit)
      from  ea5b53b9d78b3c3dbff5fb81aa2a16ba88d19d2f (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 fe99f2ab76c6f941e0bad94bc50a41933bf59f3f
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Fri Jun 30 13:39:11 2017 -0700

    prefixes should be unique

diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm
index 34be1a0..b3ef409 100644
--- a/FS/FS/Schema.pm
+++ b/FS/FS/Schema.pm
@@ -5204,7 +5204,7 @@ sub tables_hashref {
         'ocn',         'char',    'NULL',       4, '', '', 
       ],
       'primary_key'  => 'prefixnum',
-      'unique'       => [],
+      'unique'       => [ [ 'countrycode', 'npa', 'nxx' ] ],
       'index'        => [ [ 'countrycode' ], [ 'npa' ], [ 'regionnum' ] ],
       'foreign_keys' => [
                           { columns    => [ 'regionnum' ],

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

Summary of changes:
 FS/FS/Schema.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list