[freeside-commits] freeside/FS/FS Schema.pm,1.85,1.86
Ivan,,,
ivan at wavetail.420.am
Sun May 18 21:29:03 PDT 2008
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv7789
Modified Files:
Schema.pm
Log Message:
add a key on ( history_action, $primary_key ) to the h_ tables. this should speed up the cust_pay upgrade??
Index: Schema.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Schema.pm,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -d -r1.85 -r1.86
--- Schema.pm 16 May 2008 19:26:36 -0000 1.85
+++ Schema.pm 19 May 2008 04:29:01 -0000 1.86
@@ -192,6 +192,14 @@
}
keys %indices;
+ $h_indices{"h_${table}_srckey"} = DBIx::DBSchema::Index->new({
+ 'name' => "h_${table}_srckey",
+ 'unique' => 0,
+ 'columns' => [ 'history_action', #right?
+ $tableobj->primary_key,
+ ],
+ });
+
my $h_tableobj = DBIx::DBSchema::Table->new( {
'name' => "h_$table",
'primary_key' => 'historynum',
More information about the freeside-commits
mailing list