RackTables/0_17_3/Result/TagTree.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_17_3::Result::TagTree;
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_17_3::Result::TagTree
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<TagTree>
31  
32 =cut
33  
34 __PACKAGE__->table("TagTree");
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 parent_id
46  
47 data_type: 'integer'
48 extra: {unsigned => 1}
49 is_nullable: 1
50  
51 =head2 valid_realm
52  
53 data_type: 'set'
54 default_value: 'file,ipv4net,ipv4vs,ipv4rspool,object,rack,user'
55 extra: {list => ["file","ipv4net","ipv4vs","ipv4rspool","object","rack","user"]}
56 is_nullable: 0
57  
58 =head2 tag
59  
60 data_type: 'char'
61 is_nullable: 1
62 size: 255
63  
64 =cut
65  
66 __PACKAGE__->add_columns(
67 "id",
68 {
69 data_type => "integer",
70 extra => { unsigned => 1 },
71 is_auto_increment => 1,
72 is_nullable => 0,
73 },
74 "parent_id",
75 { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 1 },
76 "valid_realm",
77 {
78 data_type => "set",
79 default_value => "file,ipv4net,ipv4vs,ipv4rspool,object,rack,user",
80 extra => {
81 list => [
82 "file",
83 "ipv4net",
84 "ipv4vs",
85 "ipv4rspool",
86 "object",
87 "rack",
88 "user",
89 ],
90 },
91 is_nullable => 0,
92 },
93 "tag",
94 { data_type => "char", is_nullable => 1, size => 255 },
95 );
96  
97 =head1 PRIMARY KEY
98  
99 =over 4
100  
101 =item * L</id>
102  
103 =back
104  
105 =cut
106  
107 __PACKAGE__->set_primary_key("id");
108  
109 =head1 UNIQUE CONSTRAINTS
110  
111 =head2 C<tag>
112  
113 =over 4
114  
115 =item * L</tag>
116  
117 =back
118  
119 =cut
120  
121 __PACKAGE__->add_unique_constraint("tag", ["tag"]);
122  
123  
124 # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:04:14
125 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/nZaVS9rjuuU84X8T8vHUA
126  
127  
128 # You can replace this text with custom code or comments, and it will be preserved on regeneration
129 1;