[freeside-commits] branch FREESIDE_4_BRANCH updated. 71b0cae95c75843bcb80855b696d49d4752dbe35

Ivan ivan at 420.am
Thu May 19 14:09:59 PDT 2016


The branch, FREESIDE_4_BRANCH has been updated
       via  71b0cae95c75843bcb80855b696d49d4752dbe35 (commit)
      from  87167d45c8596e5ca0621a87bcbb9d3eb26fe766 (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 71b0cae95c75843bcb80855b696d49d4752dbe35
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu May 19 14:09:58 2016 -0700

    remove FK on acct_tr_transaction.svcnum

diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm
index b0a0ea7..7bddc87 100644
--- a/FS/FS/Schema.pm
+++ b/FS/FS/Schema.pm
@@ -3886,9 +3886,12 @@ sub tables_hashref {
       'unique'       => [],
       'index'        => [ ['svcnum', 'transaction_id'] ],
       'foreign_keys' => [
-                          { columns    => [ 'svcnum' ],
-                            table      => 'svc_acct', #'cust_svc',
-                          },
+                          # problems w/deleted services, and as per below, this
+                          # is our internal hack, not a customer-facing feature
+                          #{ columns    => [ 'svcnum' ],
+                          #  table      => 'svc_acct', #'cust_svc',
+                          #},
+
                           # 1. RT tables aren't part of our data structure, so
                           #     we can't make sure Queue is created already
                           # 2. This is our internal hack for time tracking, not

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

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




More information about the freeside-commits mailing list