summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-11-15 14:57:06 -0800
committerIvan Kohler <ivan@freeside.biz>2013-11-15 14:57:06 -0800
commit0be78acfcd733ca079ab946f4ba4b46429c28c1c (patch)
treefda88825022a7cac68878b34ad43f6088d91adcd /FS
parent803b2d18fd3d62da743281b973d9f057a387e9bb (diff)
fix foreign key cust_bill_pkg_void.pkgnum error, RT#26018, RT#13971
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/Schema.pm7
1 files changed, 4 insertions, 3 deletions
diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm
index 1794c12ec..ebf4f37da 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' ],