[freeside-commits] freeside/FS/FS Schema.pm,1.170,1.171
Ivan,,,
ivan at wavetail.420.am
Wed Oct 21 17:28:33 PDT 2009
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv9976/FS/FS
Modified Files:
Schema.pm
Log Message:
fix netsapiens CDR import, RT#5226
Index: Schema.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Schema.pm,v
retrieving revision 1.170
retrieving revision 1.171
diff -u -d -r1.170 -r1.171
--- Schema.pm 21 Oct 2009 07:09:20 -0000 1.170
+++ Schema.pm 22 Oct 2009 00:28:31 -0000 1.171
@@ -2149,6 +2149,8 @@
###
# fields for unitel/RSLCOM/convergent that don't map well to asterisk
# defaults
+ # though these are now used elsewhere:
+ # charged_party, upstream_price, rated_price, carrierid
###
#cdr_type: Usage = 1, S&E = 7, OC&C = 8
@@ -2191,19 +2193,35 @@
#NULL, done (or something)
'freesiderewritestatus', 'varchar', 'NULL', 32, '', '',
+ #an indexed place to put big numbers
+ 'cdrid', 'bigint', 'NULL', '', '', '',
+
+ #i should become a table
'cdrbatch', 'varchar', 'NULL', 255, '', '',
+ #'cdrbatchnum', 'int', 'NULL', '', '', '',
],
'primary_key' => 'acctid',
'unique' => [],
'index' => [ [ 'calldate' ],
[ 'src' ], [ 'dst' ], [ 'dcontext' ], [ 'charged_party' ],
- [ 'accountcode' ], [ 'carrierid' ],
+ [ 'accountcode' ], [ 'carrierid' ], [ 'cdrid' ],
[ 'freesidestatus' ], [ 'freesiderewritestatus' ],
[ 'cdrbatch' ],
],
},
+ #'cdr_batch' => {
+ # 'columns' => [
+ # 'cdrbatchnum', 'serial', '', '', '', '',
+ # 'cdrbatch', 'varchar', 'NULL', 255, '', '',
+ # '_date', @date_type, '', '',
+ # ],
+ # 'primary_key' => 'cdrbatchnum',
+ # 'unique' => [ [ 'cdrbatch' ] ],
+ # 'index' => [],
+ #},
+
'cdr_termination' => {
'columns' => [
'cdrtermnum', 'bigserial', '', '', '', '',
More information about the freeside-commits
mailing list