You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ngcp-panel/lib/NGCP/Panel/Model/billing.pm

13 lines
351 B

package NGCP::Panel::Model::billing;
use Sipwise::Base;
use Module::Runtime qw(use_module);
extends 'Catalyst::Model::DBIC::Schema';
my $connect_info = use_module(NGCP::Panel->config->{'Model::billing'}{schema_class})->config->as_hash->{billingdb};
$connect_info->{mysql_enable_utf8} = 1;
__PACKAGE__->config(
connect_info => $connect_info,
);