summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-06-29 15:25:41 -0700
committerIvan Kohler <ivan@freeside.biz>2014-06-29 15:25:41 -0700
commit5dd12ebde3e35336ece3ddf9d8460fa60520cf12 (patch)
tree7df31c0d6c7bd9e1d38de2a9de69fa27d75e7f66
parente2d752f1e348d0903888aa85f46d6288e282d6c6 (diff)
add index on prepay_credit.agentnum, RT#29748
-rw-r--r--FS/FS/Schema.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm
index ea4e2c2a2..b0980e8ef 100644
--- a/FS/FS/Schema.pm
+++ b/FS/FS/Schema.pm
@@ -4041,7 +4041,7 @@ sub tables_hashref {
],
'primary_key' => 'prepaynum',
'unique' => [ ['identifier'] ],
- 'index' => [],
+ 'index' => [ ['agentnum'] ],
'foreign_keys' => [
{ columns => [ 'agentnum' ],
table => 'agent',