summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-09-02 15:22:56 -0700
committerIvan Kohler <ivan@freeside.biz>2014-09-02 15:22:56 -0700
commit8898636630e25444096c4bcef012c5a31701756d (patch)
tree5f03828ec63d04492a617ecc894ae9fe2b2dc902
parent05056204cf2fb1b216480bf242e9fdc00a3148f6 (diff)
parentcbbf889d1f250c377d2b3c4b020bf78e66ed1190 (diff)
Merge branch 'h_cust_main_index_fix' of https://github.com/Jayceh/Freeside
-rw-r--r--FS/FS/Schema.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm
index c635ea0a0..02fcf8ef8 100644
--- a/FS/FS/Schema.pm
+++ b/FS/FS/Schema.pm
@@ -254,11 +254,11 @@ sub dbdef_dist {
# necessary because of the evil OR username for older data, be really nice if everything was just migrated to usernum and we could drop username
# This will not be helpful to mysql, but postgres smartly does a bitmap across both indexes, mysql will just use one
- $h_indices{"h_${table}_username"} =
+ $h_indices{"h_${table}_user"} =
DBIx::DBSchema::Index->new({
- 'name' => "h_${table}_username",
+ 'name' => "h_${table}_user",
'unique' => 0,
- 'columns' => [ 'history_username'],
+ 'columns' => [ 'history_user'],
});
}