From: Ivan Kohler Date: Fri, 30 Jun 2017 20:39:10 +0000 (-0700) Subject: prefixes should be unique X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=ef710ebf571104b60d855f87d73732b600ebe455 prefixes should be unique --- diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm index e96e883ea..d7c7452f1 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' ],