Update documentation on new pbx changes.

gjungwirth/sqlite
Andreas Granig 12 years ago
parent e9d6cb9030
commit 72fc078f65

@ -336,6 +336,12 @@ Type: has_many
Related object: L<NGCP::Schema::Result::voip_subscribers> Related object: L<NGCP::Schema::Result::voip_subscribers>
=head2 voip_pbx_groups
Type: has_many
Related object: L<NGCP::Schema::Result::voip_pbx_groups>
=cut =cut

@ -272,13 +272,13 @@ NGCP::Schema::Result::provisioning_voip_subscribers
is_nullable: 1 is_nullable: 1
size: 40 size: 40
=head2 autoconf_displayname =head2 is_pbx_group
data_type: 'varchar' data_type: 'tinyint'
is_nullable: 1 is_nullable: 0
size: 255 default_value: 0
=head2 autoconf_group_id =head2 pbx_group_id
data_type: 'integer' data_type: 'integer'
extra: {unsigned => 1} extra: {unsigned => 1}
@ -416,6 +416,12 @@ Type: has_many
Related object: L<NGCP::Schema::Result::voip_usr_preferences> Related object: L<NGCP::Schema::Result::voip_usr_preferences>
=head2 voip_pbx_group
Type: belongs_to
Related object: L<NGCP::Schema::Result::voip_pbx_groups>
=cut =cut

@ -104,14 +104,6 @@ __PACKAGE__->has_many(
{ cascade_copy => 0, cascade_delete => 0 }, { cascade_copy => 0, cascade_delete => 0 },
); );
__PACKAGE__->might_have(
"voip_pbx_group",
"NGCP::Schema::Result::voip_pbx_groups",
{ "foreign.number_id" => "self.id" },
{ cascade_copy => 0, cascade_delete => 0 },
);
sub TO_JSON { sub TO_JSON {
my ($self) = @_; my ($self) = @_;
return { return {

@ -95,19 +95,17 @@ sub TO_JSON {
=head1 NAME =head1 NAME
NGCP::Schema::Result::provisioning_voip_subscribers NGCP::Schema::Result::voip_pbx_groups
=head1 COMPONENTS LOADED =head1 COMPONENTS LOADED
=over 4 =over 4
=item * L<DBIx::Class::InflateColumn::DateTime>
=item * L<DBIx::Class::Helper::Row::ToJSON> =item * L<DBIx::Class::Helper::Row::ToJSON>
=back =back
=head1 TABLE: C<provisioning.voip_subscribers> =head1 TABLE: C<provisioning.voip_pbx_groups>
=head1 ACCESSORS =head1 ACCESSORS
@ -118,79 +116,43 @@ NGCP::Schema::Result::provisioning_voip_subscribers
is_auto_increment: 1 is_auto_increment: 1
is_nullable: 0 is_nullable: 0
=head2 username =head2 contract_id
data_type: 'varchar'
is_nullable: 0
size: 127
=head2 domain_id
data_type: 'integer' data_type: 'integer'
extra: {unsigned => 1} extra: {unsigned => 1}
is_foreign_key: 1 is_foreign_key: 1
is_nullable: 0 is_nullable: 0
=head2 uuid =head2 subscriber_id
data_type: 'char'
is_nullable: 0
size: 36
=head2 password
data_type: 'varchar'
is_nullable: 1
size: 40
=head2 admin
data_type: 'tinyint'
default_value: 0
is_nullable: 0
=head2 account_id
data_type: 'integer' data_type: 'integer'
extra: {unsigned => 1} extra: {unsigned => 1}
is_nullable: 1 is_foreign_key: 1
is_nullable: 0
=head2 webusername
data_type: 'varchar'
is_nullable: 1
size: 127
=head2 webpassword =head2 name
data_type: 'varchar' data_type: 'varchar'
is_nullable: 1 is_nullable: 0
size: 40 size: 255
=head2 autoconf_displayname =head2 extension
data_type: 'varchar' data_type: 'varchar'
is_nullable: 1 is_nullable: 0
size: 255 size: 255
=head2 autoconf_group_id =head2 hunt_policy
data_type: 'integer' data_type: 'enum'
extra: {unsigned => 1} default_value: 'serial'
is_nullable: 1 extra: {list => ["serial","parallel"]}
=head2 modify_timestamp
data_type: 'timestamp'
datetime_undef_if_invalid: 1
default_value: current_timestamp
is_nullable: 0 is_nullable: 0
=head2 create_timestamp =head2 hunt_policy_timeout
data_type: 'timestamp' data_type: 'integer'
datetime_undef_if_invalid: 1 extra: {unsigned => 1}
default_value: '0000-00-00 00:00:00'
is_nullable: 0 is_nullable: 0
=head1 PRIMARY KEY =head1 PRIMARY KEY
@ -201,115 +163,25 @@ NGCP::Schema::Result::provisioning_voip_subscribers
=back =back
=head1 UNIQUE CONSTRAINTS
=head2 C<user_dom_idx>
=over 4
=item * L</username>
=item * L</domain_id>
=back
=head2 C<uuid_idx>
=over 4
=item * L</uuid>
=back
=head2 C<webuser_dom_idx>
=over 4
=item * L</webusername>
=item * L</domain_id>
=back
=head1 RELATIONS =head1 RELATIONS
=head2 domain =head2 contract
Type: belongs_to Type: belongs_to
Related object: L<NGCP::Schema::Result::voip_domains> Related object: L<NGCP::Schema::Result::contracts>
=head2 voip_cc_mappings
Type: has_many
Related object: L<NGCP::Schema::Result::voip_cc_mappings>
=head2 voip_cf_destination_sets
Type: has_many
Related object: L<NGCP::Schema::Result::voip_cf_destination_sets>
=head2 voip_cf_mappings
Type: has_many
Related object: L<NGCP::Schema::Result::voip_cf_mappings>
=head2 voip_cf_time_sets
Type: has_many
Related object: L<NGCP::Schema::Result::voip_cf_time_sets>
=head2 voip_contacts
Type: has_many
Related object: L<NGCP::Schema::Result::voip_contacts>
=head2 voip_dbaliases
Type: has_many
Related object: L<NGCP::Schema::Result::voip_dbaliases>
=head2 voip_fax_destinations
Type: has_many
Related object: L<NGCP::Schema::Result::voip_fax_destinations>
=head2 voip_fax_preference
Type: might_have =head2 provisioning_voip_subscriber
Related object: L<NGCP::Schema::Result::voip_fax_preferences> Type: belongs_to
=head2 voip_reminder
Type: might_have
Related object: L<NGCP::Schema::Result::voip_reminder>
=head2 voip_speed_dials
Type: has_many
Related object: L<NGCP::Schema::Result::voip_speed_dial>
=head2 voip_trusted_sources
Type: has_many
Related object: L<NGCP::Schema::Result::voip_trusted_sources> Related object: L<NGCP::Schema::Result::provisioning_voip_subscribers>
=head2 voip_usr_preferences =head2 provisioning_voip_subscribers
Type: has_many Type: has_many
Related object: L<NGCP::Schema::Result::voip_usr_preferences> Related object: L<NGCP::Schema::Result::provisioning_voip_subscribers>
=cut =cut

Loading…
Cancel
Save