[freeside-commits] freeside/FS/FS Schema.pm,1.44.2.23,1.44.2.24
Ivan,,,
ivan at wavetail.420.am
Sun May 18 21:29:05 PDT 2008
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv7791
Modified Files:
Tag: FREESIDE_1_7_BRANCH
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.44.2.23
retrieving revision 1.44.2.24
diff -u -d -r1.44.2.23 -r1.44.2.24
--- Schema.pm 19 May 2008 04:07:39 -0000 1.44.2.23
+++ Schema.pm 19 May 2008 04:29:03 -0000 1.44.2.24
@@ -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