RackTables/0_19_5/Result/VLANIPv6.pm untested

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 23 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 use utf8;
2 package Schema::RackTables::0_19_5::Result::VLANIPv6;
3  
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
6  
7 =head1 NAME
8  
9 Schema::RackTables::0_19_5::Result::VLANIPv6
10  
11 =cut
12  
13 use strict;
14 use warnings;
15  
16 use base 'DBIx::Class::Core';
17  
18 =head1 COMPONENTS LOADED
19  
20 =over 4
21  
22 =item * L<DBIx::Class::InflateColumn::DateTime>
23  
24 =back
25  
26 =cut
27  
28 __PACKAGE__->load_components("InflateColumn::DateTime");
29  
30 =head1 TABLE: C<VLANIPv6>
31  
32 =cut
33  
34 __PACKAGE__->table("VLANIPv6");
35  
36 =head1 ACCESSORS
37  
38 =head2 domain_id
39  
40 data_type: 'integer'
41 extra: {unsigned => 1}
42 is_foreign_key: 1
43 is_nullable: 0
44  
45 =head2 vlan_id
46  
47 data_type: 'integer'
48 extra: {unsigned => 1}
49 is_foreign_key: 1
50 is_nullable: 0
51  
52 =head2 ipv6net_id
53  
54 data_type: 'integer'
55 extra: {unsigned => 1}
56 is_foreign_key: 1
57 is_nullable: 0
58  
59 =cut
60  
61 __PACKAGE__->add_columns(
62 "domain_id",
63 {
64 data_type => "integer",
65 extra => { unsigned => 1 },
66 is_foreign_key => 1,
67 is_nullable => 0,
68 },
69 "vlan_id",
70 {
71 data_type => "integer",
72 extra => { unsigned => 1 },
73 is_foreign_key => 1,
74 is_nullable => 0,
75 },
76 "ipv6net_id",
77 {
78 data_type => "integer",
79 extra => { unsigned => 1 },
80 is_foreign_key => 1,
81 is_nullable => 0,
82 },
83 );
84  
85 =head1 UNIQUE CONSTRAINTS
86  
87 =head2 C<network-domain>
88  
89 =over 4
90  
91 =item * L</ipv6net_id>
92  
93 =item * L</domain_id>
94  
95 =back
96  
97 =cut
98  
99 __PACKAGE__->add_unique_constraint("network-domain", ["ipv6net_id", "domain_id"]);
100  
101 =head1 RELATIONS
102  
103 =head2 ipv6net
104  
105 Type: belongs_to
106  
107 Related object: L<Schema::RackTables::0_19_5::Result::IPv6Network>
108  
109 =cut
110  
111 __PACKAGE__->belongs_to(
112 "ipv6net",
113 "Schema::RackTables::0_19_5::Result::IPv6Network",
114 { id => "ipv6net_id" },
115 { is_deferrable => 1, on_delete => "CASCADE", on_update => "RESTRICT" },
116 );
117  
118 =head2 vlandescription
119  
120 Type: belongs_to
121  
122 Related object: L<Schema::RackTables::0_19_5::Result::VLANDescription>
123  
124 =cut
125  
126 __PACKAGE__->belongs_to(
127 "vlandescription",
128 "Schema::RackTables::0_19_5::Result::VLANDescription",
129 { domain_id => "domain_id", vlan_id => "vlan_id" },
130 { is_deferrable => 1, on_delete => "CASCADE", on_update => "RESTRICT" },
131 );
132  
133  
134 # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:02:19
135 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jyNK2Gk9sVI2VQwo/LtQUQ
136  
137  
138 # You can replace this text with custom code or comments, and it will be preserved on regeneration
139 1;