X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FSchema.pm;h=c27b727b8653d8656321d52f6bfbff17ca9a38d9;hb=fad183c519f7d8b7c905708efc984c571b2c2990;hp=bd63af5507d4624740d077f1a9083a222ff7682b;hpb=f4ee374e9bbb313234278c7231c046f8e07086f0;p=freeside.git diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm index bd63af550..c27b727b8 100644 --- a/FS/FS/Schema.pm +++ b/FS/FS/Schema.pm @@ -7341,6 +7341,29 @@ sub tables_hashref { ], }, + 'webservice_log' => { + 'columns' => [ + 'webservicelognum', 'serial', '', '', '', '', #big? hubrus + 'svcnum', 'int', 'NULL', '', '', '', #just in case + 'custnum', 'int', '', '', '', '', + 'method', 'varchar', '', $char_d, '', '', + 'quantity', 'int', '', '', '', '', #i.e. pages + '_date', @date_type, '', '', + 'status', 'varchar', 'NULL', $char_d, '', '', + 'rated_price', 'decimal', 'NULL', '10,2', '', '', + ], + 'primary_key' => 'webservicelognum', + 'unique' => [], + 'index' => [ ['custnum'], ['status'] ], + 'foreign_keys' => [ + { columns => [ 'custnum' ], + table => 'cust_main', + }, + #no FK on svcnum... we don't want to purge these on + # service deletion + ], + }, + # name type nullability length default local #'new_table' => {