'unique' => [],
'index' => [ ['svcnum', 'transaction_id'] ],
'foreign_keys' => [
- { columns => [ 'svcnum' ],
- table => 'svc_acct', #'cust_svc',
- },
+ # problems w/deleted services, and as per below, this
+ # is our internal hack, not a customer-facing feature
+ #{ columns => [ 'svcnum' ],
+ # table => 'svc_acct', #'cust_svc',
+ #},
+
# 1. RT tables aren't part of our data structure, so
# we can't make sure Queue is created already
# 2. This is our internal hack for time tracking, not
'min_level', 'int', 'NULL', '', '', '',
'msgnum', 'int', '', '', '', '',
'to_addr', 'varchar', 'NULL', 255, '', '',
+ 'context_height', 'int', 'NULL', '', '', '',
],
'primary_key' => 'logemailnum',
'unique' => [],