From ef710ebf571104b60d855f87d73732b600ebe455 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Fri, 30 Jun 2017 13:39:10 -0700 Subject: [PATCH] prefixes should be unique --- FS/FS/Schema.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' ], -- 2.11.0