projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c6c6f75
)
remove FK on acct_tr_transaction.svcnum
author
Ivan Kohler
<ivan@freeside.biz>
Thu, 19 May 2016 21:09:55 +0000
(14:09 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Thu, 19 May 2016 21:09:55 +0000
(14:09 -0700)
FS/FS/Schema.pm
patch
|
blob
|
history
diff --git
a/FS/FS/Schema.pm
b/FS/FS/Schema.pm
index
cdb0d28
..
3593543
100644
(file)
--- a/
FS/FS/Schema.pm
+++ b/
FS/FS/Schema.pm
@@
-3870,9
+3870,12
@@
sub tables_hashref {
'unique' => [],
'index' => [ ['svcnum', 'transaction_id'] ],
'foreign_keys' => [
'unique' => [],
'index' => [ ['svcnum', 'transaction_id'] ],
'foreign_keys' => [
- { columns => [ 'svcnum' ],
- table => 'svc_acct', #'cust_svc',
- },
+ # problems w/deleted services, and as per below, this
+ # is our internal hack, not a customer-facing feature
+ #{ columns => [ 'svcnum' ],
+ # table => 'svc_acct', #'cust_svc',
+ #},
+
# 1. RT tables aren't part of our data structure, so
# we can't make sure Queue is created already
# 2. This is our internal hack for time tracking, not
# 1. RT tables aren't part of our data structure, so
# we can't make sure Queue is created already
# 2. This is our internal hack for time tracking, not