place to track an imported regionid, RT#83146
authorIvan Kohler <ivan@freeside.biz>
Mon, 5 Aug 2019 22:42:43 +0000 (15:42 -0700)
committerIvan Kohler <ivan@freeside.biz>
Mon, 5 Aug 2019 22:42:43 +0000 (15:42 -0700)
FS/FS/Schema.pm

index 56ea727..bbd89f2 100644 (file)
@@ -5203,10 +5203,11 @@ sub tables_hashref {
         'regionnum',   'serial',      '', '', '', '', 
         'regionname',  'varchar',     '', $char_d, '', '', 
         'exact_match', 'char',    'NULL',  1, '', '',
+        'agent_regionid',    'varchar', 'NULL', $char_d, '', '',
       ],
       'primary_key' => 'regionnum',
       'unique'      => [],
-      'index'       => [],
+      'index'       => [ ['agent_regionid'] ],
     },
 
     'rate_prefix' => {