From 0be78acfcd733ca079ab946f4ba4b46429c28c1c Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Fri, 15 Nov 2013 14:57:06 -0800 Subject: [PATCH] fix foreign key cust_bill_pkg_void.pkgnum error, RT#26018, RT#13971 --- FS/FS/Schema.pm | 7 ++++--- 1 file 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' ], -- 2.11.0