summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorjeff <jeff>2008-09-18 23:17:01 +0000
committerjeff <jeff>2008-09-18 23:17:01 +0000
commit4c1394f92330b2fd21dc56c988d7fac05b18cd28 (patch)
tree57def2d63373c97fff7bcbd7a8cbd8f18b0c1f99 /FS
parent3ad0ab7503933b04bd6ee8e59b07780378f92a25 (diff)
trade space for time
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/Schema.pm8
1 files changed, 8 insertions, 0 deletions
diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm
index 22bd19ef3..b3cce9a93 100644
--- a/FS/FS/Schema.pm
+++ b/FS/FS/Schema.pm
@@ -200,6 +200,14 @@ sub dbdef_dist {
],
});
+ $h_indices{"h_${table}_srckey2"} = DBIx::DBSchema::Index->new({
+ 'name' => "h_${table}_srckey2",
+ 'unique' => 0,
+ 'columns' => [ 'history_date',
+ $tableobj->primary_key,
+ ],
+ });
+
my $h_tableobj = DBIx::DBSchema::Table->new( {
'name' => "h_$table",
'primary_key' => 'historynum',