fix upgrades when cust_pkg.change_to_pkgnum points to a package that was removed...
[freeside.git] / FS / FS / Upgrade.pm
index a59dc1f..628b6f2 100644 (file)
@@ -567,6 +567,8 @@ sub upgrade_schema_data {
     #remove records referencing removed things with their FKs
     'pkg_referral' => [],
     'cust_bill_pkg_discount' => [],
+    #update records referencing removed things with their FKs
+    'cust_pkg' => [],
   ;
 
   \%hash;