RackTables/0_20_11/Result/CactiServer.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 22 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« RackTables/0_20_11/Result/CactiGraph.pm ↑ Summary RackTables/0_20_11/Result/Chapter.pm »
1 2 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 package Schema::RackTables::0_20_11::Result::CactiServer;
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_20_11::Result::CactiServer
10  
11 =cut
12  
13 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
15  
16 2 ▶use base 'DBIx::Class::Core';
Subroutine BEGIN: called CC=1 SCAR=0.0
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 2 __PACKAGE__->load_components("InflateColumn::DateTime");
29  
30 =head1 TABLE: C<CactiServer>
31  
32 =cut
33  
34 2 __PACKAGE__->table("CactiServer");
35  
36 =head1 ACCESSORS
37  
38 =head2 id
39  
40 data_type: 'integer'
41 extra: {unsigned => 1}
42 is_auto_increment: 1
43 is_nullable: 0
44  
45 =head2 base_url
46  
47 data_type: 'char'
48 is_nullable: 1
49 size: 255
50  
51 =head2 username
52  
53 data_type: 'char'
54 is_nullable: 1
55 size: 64
56  
57 =head2 password
58  
59 data_type: 'char'
60 is_nullable: 1
61 size: 64
62  
63 =cut
64  
65 2 __PACKAGE__->add_columns(
66 "id",
67 {
68 data_type => "integer",
69 extra => { unsigned => 1 },
70 is_auto_increment => 1,
71 is_nullable => 0,
72 },
73 "base_url",
74 { data_type => "char", is_nullable => 1, size => 255 },
75 "username",
76 { data_type => "char", is_nullable => 1, size => 64 },
77 "password",
78 { data_type => "char", is_nullable => 1, size => 64 },
79 );
80  
81 =head1 PRIMARY KEY
82  
83 =over 4
84  
85 =item * L</id>
86  
87 =back
88  
89 =cut
90  
91 2 __PACKAGE__->set_primary_key("id");
92  
93 =head1 RELATIONS
94  
95 =head2 cacti_graphs
96  
97 Type: has_many
98  
99 Related object: L<Schema::RackTables::0_20_11::Result::CactiGraph>
100  
101 =cut
102  
103 2 __PACKAGE__->has_many(
104 "cacti_graphs",
105 "Schema::RackTables::0_20_11::Result::CactiGraph",
106 { "foreign.server_id" => "self.id" },
107 { cascade_copy => 0, cascade_delete => 0 },
108 );
109  
110  
111 # Created by DBIx::Class::Schema::Loader v0.07043 @ 2016-05-12 22:07:10
112 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:AqhDhtsDuHxipXZm7ECOOQ
113  
114  
115 # You can replace this text with custom code or comments, and it will be preserved on regeneration
116 2 1;
« RackTables/0_20_11/Result/CactiGraph.pm ↑ Summary RackTables/0_20_11/Result/Chapter.pm »