RackTables/0_20_8/Result/MountOperation.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_20_8::Result::MountOperation;
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_8::Result::MountOperation
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<MountOperation>
31  
32 =cut
33  
34 __PACKAGE__->table("MountOperation");
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 object_id
46  
47 data_type: 'integer'
48 default_value: 0
49 extra: {unsigned => 1}
50 is_foreign_key: 1
51 is_nullable: 0
52  
53 =head2 ctime
54  
55 data_type: 'timestamp'
56 datetime_undef_if_invalid: 1
57 default_value: current_timestamp
58 is_nullable: 0
59  
60 =head2 user_name
61  
62 data_type: 'char'
63 is_nullable: 1
64 size: 64
65  
66 =head2 old_molecule_id
67  
68 data_type: 'integer'
69 extra: {unsigned => 1}
70 is_foreign_key: 1
71 is_nullable: 1
72  
73 =head2 new_molecule_id
74  
75 data_type: 'integer'
76 extra: {unsigned => 1}
77 is_foreign_key: 1
78 is_nullable: 1
79  
80 =head2 comment
81  
82 data_type: 'text'
83 is_nullable: 1
84  
85 =cut
86  
87 __PACKAGE__->add_columns(
88 "id",
89 {
90 data_type => "integer",
91 extra => { unsigned => 1 },
92 is_auto_increment => 1,
93 is_nullable => 0,
94 },
95 "object_id",
96 {
97 data_type => "integer",
98 default_value => 0,
99 extra => { unsigned => 1 },
100 is_foreign_key => 1,
101 is_nullable => 0,
102 },
103 "ctime",
104 {
105 data_type => "timestamp",
106 datetime_undef_if_invalid => 1,
107 default_value => \"current_timestamp",
108 is_nullable => 0,
109 },
110 "user_name",
111 { data_type => "char", is_nullable => 1, size => 64 },
112 "old_molecule_id",
113 {
114 data_type => "integer",
115 extra => { unsigned => 1 },
116 is_foreign_key => 1,
117 is_nullable => 1,
118 },
119 "new_molecule_id",
120 {
121 data_type => "integer",
122 extra => { unsigned => 1 },
123 is_foreign_key => 1,
124 is_nullable => 1,
125 },
126 "comment",
127 { data_type => "text", is_nullable => 1 },
128 );
129  
130 =head1 PRIMARY KEY
131  
132 =over 4
133  
134 =item * L</id>
135  
136 =back
137  
138 =cut
139  
140 __PACKAGE__->set_primary_key("id");
141  
142 =head1 RELATIONS
143  
144 =head2 new_molecule
145  
146 Type: belongs_to
147  
148 Related object: L<Schema::RackTables::0_20_8::Result::Molecule>
149  
150 =cut
151  
152 __PACKAGE__->belongs_to(
153 "new_molecule",
154 "Schema::RackTables::0_20_8::Result::Molecule",
155 { id => "new_molecule_id" },
156 {
157 is_deferrable => 1,
158 join_type => "LEFT",
159 on_delete => "CASCADE",
160 on_update => "RESTRICT",
161 },
162 );
163  
164 =head2 object
165  
166 Type: belongs_to
167  
168 Related object: L<Schema::RackTables::0_20_8::Result::Object>
169  
170 =cut
171  
172 __PACKAGE__->belongs_to(
173 "object",
174 "Schema::RackTables::0_20_8::Result::Object",
175 { id => "object_id" },
176 { is_deferrable => 1, on_delete => "CASCADE", on_update => "RESTRICT" },
177 );
178  
179 =head2 old_molecule
180  
181 Type: belongs_to
182  
183 Related object: L<Schema::RackTables::0_20_8::Result::Molecule>
184  
185 =cut
186  
187 __PACKAGE__->belongs_to(
188 "old_molecule",
189 "Schema::RackTables::0_20_8::Result::Molecule",
190 { id => "old_molecule_id" },
191 {
192 is_deferrable => 1,
193 join_type => "LEFT",
194 on_delete => "CASCADE",
195 on_update => "RESTRICT",
196 },
197 );
198  
199  
200 # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:01:08
201 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:H5MC9Yu4be7iE6dqMK7kaQ
202  
203  
204 # You can replace this text with custom code or comments, and it will be preserved on regeneration
205 1;