summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason (Jayce^) Hall <jayce@lug-nut.com>2014-09-02 13:29:33 -0600
committerJason (Jayce^) Hall <jayce@lug-nut.com>2014-09-02 13:29:33 -0600
commitcbbf889d1f250c377d2b3c4b020bf78e66ed1190 (patch)
tree64177a40d94cc0190f712d2486f2b96a95b7fac6
parent3317a32f572a2e3605071410e7ddd8082e0b03ee (diff)
duh, user, not username
-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'],
});
}