projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix upgrade for dangling cust_main_invoice, RT#75271
[freeside.git]
/
FS
/
FS
/
Upgrade.pm
diff --git
a/FS/FS/Upgrade.pm
b/FS/FS/Upgrade.pm
index
0a083db
..
6edec90
100644
(file)
--- a/
FS/FS/Upgrade.pm
+++ b/
FS/FS/Upgrade.pm
@@
-561,6
+561,9
@@
sub upgrade_schema_data {
'cust_bill_pkg_detail' => [],
#add necessary columns to RT schema
'TicketSystem' => [],
'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' => [],
#remove possible dangling records
'password_history' => [],
'cust_pay_pending' => [],
@@
-571,6
+574,8
@@
sub upgrade_schema_data {
'cust_bill_pay_batch' => [],
'cust_event_fee' => [],
'radius_attr' => [],
'cust_bill_pay_batch' => [],
'cust_event_fee' => [],
'radius_attr' => [],
+ 'queue_depend' => [],
+ 'cust_main_invoice' => [],
#update records referencing removed things with their FKs
'cust_pkg' => [],
;
#update records referencing removed things with their FKs
'cust_pkg' => [],
;