[freeside-commits] branch master updated. 0be78acfcd733ca079ab946f4ba4b46429c28c1c
Ivan
ivan at 420.am
Fri Nov 15 14:57:08 PST 2013
The branch, master has been updated
via 0be78acfcd733ca079ab946f4ba4b46429c28c1c (commit)
from 803b2d18fd3d62da743281b973d9f057a387e9bb (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 0be78acfcd733ca079ab946f4ba4b46429c28c1c
Author: Ivan Kohler <ivan at freeside.biz>
Date: Fri Nov 15 14:57:06 2013 -0800
fix foreign key cust_bill_pkg_void.pkgnum error, RT#26018, RT#13971
diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm
index 1794c12..ebf4f37 100644
--- a/FS/FS/Schema.pm
+++ b/FS/FS/Schema.pm
@@ -1138,9 +1138,10 @@ sub tables_hashref {
{ columns => [ 'invnum' ],
table => 'cust_bill_void',
},
- { columns => [ 'pkgnum' ],
- table => 'cust_pkg',
- },
+ #pkgnum 0 and -1 are used for special things
+ #{ columns => [ 'pkgnum' ],
+ # table => 'cust_pkg',
+ #},
{ columns => [ 'pkgpart_override' ],
table => 'part_pkg',
references => [ 'pkgpart' ],
-----------------------------------------------------------------------
Summary of changes:
FS/FS/Schema.pm | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
More information about the freeside-commits
mailing list