[freeside-commits] branch master updated. d154235405427300ea88c9763271555252fdc916

Ivan Kohler ivan at freeside.biz
Mon Jul 29 12:04:16 PDT 2019


The branch, master has been updated
       via  d154235405427300ea88c9763271555252fdc916 (commit)
      from  86d0c98864a949d9b8c5ad77def07b7982a666c0 (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 d154235405427300ea88c9763271555252fdc916
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Jul 29 12:04:09 2019 -0700

    place to track an imported rateid, RT#83146

diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm
index 2dcbb6ff6..8a349f7f0 100644
--- a/FS/FS/Schema.pm
+++ b/FS/FS/Schema.pm
@@ -5247,13 +5247,14 @@ sub tables_hashref {
 
     'rate' => {
       'columns' => [
-        'ratenum',          'serial',     '', '', '', '', 
-        'ratename',        'varchar', '',$char_d, '', '', 
-        'agentnum',            'int', 'NULL', '', '', '',
-        'default_detailnum',   'int', 'NULL', '', '', '',
+        'ratenum',          'serial',     '',      '', '', '', 
+        'ratename',        'varchar',     '', $char_d, '', '', 
+        'agentnum',            'int', 'NULL',      '', '', '',
+        'default_detailnum',   'int', 'NULL',      '', '', '',
+        'agent_rateid',    'varchar', 'NULL', $char_d, '', '',
       ],
       'primary_key' => 'ratenum',
-      'unique'      => [],
+      'unique'      => [ ['agentnum','agent_rateid'], ],
       'index'       => [],
       'foreign_keys' => [
                           { columns    => [ 'agentnum' ],

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/Schema.pm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)




More information about the freeside-commits mailing list