fix upgrade for dangling cust_main_invoice, RT#75271
[freeside.git] / FS / FS / Upgrade.pm
index db99372..6edec90 100644 (file)
@@ -561,6 +561,9 @@ sub upgrade_schema_data {
     'cust_bill_pkg_detail' => [],
     #add necessary columns to RT schema
     'TicketSystem' => [],
+    #remove h_access_user_log if it exists (since our regular auto schema
+    # upgrade doesn't have the drop tables flag turned on) 
+    'access_user_log' => [],
     #remove possible dangling records
     'password_history' => [],
     'cust_pay_pending' => [],
@@ -569,6 +572,10 @@ sub upgrade_schema_data {
     'cust_bill_pkg_discount' => [],
     'cust_msg' => [],
     'cust_bill_pay_batch' => [],
+    'cust_event_fee' => [],
+    'radius_attr' => [],
+    'queue_depend' => [],
+    'cust_main_invoice' => [],
     #update records referencing removed things with their FKs
     'cust_pkg' => [],
   ;