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.
27 lines
706 B
27 lines
706 B
package NGCP::Schema::accounting;
|
|
use Sipwise::Base;
|
|
our $VERSION = '1.003';
|
|
|
|
# Created by DBIx::Class::Schema::Loader
|
|
# DO NOT MODIFY THE FIRST PART OF THIS FILE
|
|
|
|
extends 'DBIx::Class::Schema';
|
|
|
|
__PACKAGE__->load_namespaces;
|
|
|
|
|
|
# Created by DBIx::Class::Schema::Loader v0.07035 @ 2013-06-27 12:51:39
|
|
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:z1aNc/ZIKuZ3Q4C76a43rA
|
|
|
|
use MooseX::ClassAttribute qw(class_has);
|
|
|
|
class_has('config', is => 'rw', isa => 'NGCP::Schema::Config', lazy => 1, default => sub {
|
|
return NGCP::Schema::Config->instance;
|
|
});
|
|
|
|
method connection {
|
|
$self->SUPER::connection($self->config->as_hash->{accountingdb});
|
|
}
|
|
|
|
__PACKAGE__->meta->make_immutable(inline_constructor => 0);
|