trade space for time
authorjeff <jeff>
Thu, 18 Sep 2008 23:17:01 +0000 (23:17 +0000)
committerjeff <jeff>
Thu, 18 Sep 2008 23:17:01 +0000 (23:17 +0000)
FS/FS/Schema.pm

index 22bd19e..b3cce9a 100644 (file)
@@ -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',