[freeside-commits] branch master updated. ef710ebf571104b60d855f87d73732b600ebe455

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


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

    prefixes should be unique

diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm
index e96e883..d7c7452 100644
--- a/FS/FS/Schema.pm
+++ b/FS/FS/Schema.pm
@@ -5231,7 +5231,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