X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2FSchema.pm;h=4ebda4e11950fc296ebd1fb45545e787eb4ae85c;hp=8a349f7f0b57c74a1d21fc0eccd23799013c1e80;hb=HEAD;hpb=d154235405427300ea88c9763271555252fdc916 diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm index 8a349f7f0..61b793bb4 100644 --- a/FS/FS/Schema.pm +++ b/FS/FS/Schema.pm @@ -5317,10 +5317,11 @@ sub tables_hashref { 'regionnum', 'serial', '', '', '', '', 'regionname', 'varchar', '', $char_d, '', '', 'exact_match', 'char', 'NULL', 1, '', '', + 'agent_regionid', 'varchar', 'NULL', $char_d, '', '', ], 'primary_key' => 'regionnum', 'unique' => [], - 'index' => [], + 'index' => [ ['agent_regionid'] ], }, 'rate_prefix' => { @@ -5735,6 +5736,9 @@ sub tables_hashref { # FK to cust_bill_pkg_detail; having a value here absolutely means # that the CDR appears on an invoice 'detailnum', 'bigint', 'NULL', '', '', '', + + #for mediation/deduplication + 'sipcallid', 'varchar', 'NULL', 255, '', '', ], 'primary_key' => 'acctid', 'unique' => [], @@ -5748,7 +5752,7 @@ sub tables_hashref { [ 'freesidestatus' ], [ 'freesiderewritestatus' ], [ 'cdrbatchnum' ], [ 'src_ip_addr' ], [ 'dst_ip_addr' ], [ 'dst_term' ], - [ 'detailnum' ], + [ 'detailnum' ], [ 'sipcallid' ], ], #no FKs on cdr table... choosing not to throw errors no matter what's # thrown in here. better to have the data. @@ -5927,6 +5931,7 @@ sub tables_hashref { 'username', 'varchar', '', $char_d, '', '', '_password', 'varchar', 'NULL', $char_d, '', '', '_password_encoding', 'varchar', 'NULL', $char_d, '', '', + 'totp_secret32', 'char', 'NULL', 32, '', '', 'last', 'varchar', 'NULL', $char_d, '', '', 'first', 'varchar', 'NULL', $char_d, '', '', 'user_custnum', 'int', 'NULL', '', '', '', @@ -7449,6 +7454,7 @@ sub tables_hashref { 'is_business', 'char', 'NULL', 1, '', '', 'active_date', @date_type, '', '', 'expire_date', @date_type, '', '', + 'disabled', 'char', 'NULL', 1, '', '', ], 'primary_key' => 'zonenum', 'unique' => [],