projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb58923
)
prefixes should be unique
author
Ivan Kohler
<ivan@freeside.biz>
Fri, 30 Jun 2017 20:39:10 +0000
(13:39 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Fri, 30 Jun 2017 20:39:10 +0000
(13:39 -0700)
FS/FS/Schema.pm
patch
|
blob
|
history
diff --git
a/FS/FS/Schema.pm
b/FS/FS/Schema.pm
index
e96e883
..
d7c7452
100644
(file)
--- 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' ],