diff options
author | ivan <ivan> | 2003-12-10 22:51:06 +0000 |
---|---|---|
committer | ivan <ivan> | 2003-12-10 22:51:06 +0000 |
commit | a5bc5bcbadafe55b31d9e97fccb6122477e390fb (patch) | |
tree | a6a5d70377e42206955161cc16458404bc8a5aa4 /FS | |
parent | 10632b11a7222299b19c5949acc983d7eeefbeee (diff) |
add part_referral.disabled, add disabled indices to agent and part_bill_event
Diffstat (limited to 'FS')
-rwxr-xr-x | FS/bin/freeside-setup | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/FS/bin/freeside-setup b/FS/bin/freeside-setup index 80b74c1f1..4e3a09aad 100755 --- a/FS/bin/freeside-setup +++ b/FS/bin/freeside-setup @@ -342,7 +342,7 @@ sub tables_hash_hack { ], 'primary_key' => 'agentnum', 'unique' => [], - 'index' => [ ['typenum'] ], + 'index' => [ ['typenum'], ['diabled'] ], }, 'agent_type' => { @@ -408,7 +408,7 @@ sub tables_hash_hack { ], 'primary_key' => 'eventpart', 'unique' => [], - 'index' => [ ['payby'] ], + 'index' => [ ['payby'], ['disabled'], ], }, 'cust_bill_pkg' => { @@ -567,7 +567,7 @@ sub tables_hash_hack { ], 'primary_key' => 'paynum', 'unique' => [], - 'index' => [ [ 'custnum' ], [ 'paybatch' ] ], + 'index' => [ [ 'custnum' ], [ 'paybatch' ], [ 'payby' ], [ '_date' ] ], }, 'cust_bill_pay' => { @@ -718,10 +718,11 @@ sub tables_hash_hack { 'columns' => [ 'refnum', 'serial', '', '', 'referral', 'varchar', '', $char_d, + 'disabled', 'char', 'NULL', 1, ], 'primary_key' => 'refnum', 'unique' => [], - 'index' => [], + 'index' => [ ['disabled'] ], }, 'part_svc' => { |