RackTables/0_19_5/Result/MountOperation.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 21 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::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_19_5::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_nullable: 1
71  
72 =head2 new_molecule_id
73  
74 data_type: 'integer'
75 extra: {unsigned => 1}
76 is_nullable: 1
77  
78 =head2 comment
79  
80 data_type: 'text'
81 is_nullable: 1
82  
83 =cut
84  
85 __PACKAGE__->add_columns(
86 "id",
87 {
88 data_type => "integer",
89 extra => { unsigned => 1 },
90 is_auto_increment => 1,
91 is_nullable => 0,
92 },
93 "object_id",
94 {
95 data_type => "integer",
96 default_value => 0,
97 extra => { unsigned => 1 },
98 is_foreign_key => 1,
99 is_nullable => 0,
100 },
101 "ctime",
102 {
103 data_type => "timestamp",
104 datetime_undef_if_invalid => 1,
105 default_value => \"current_timestamp",
106 is_nullable => 0,
107 },
108 "user_name",
109 { data_type => "char", is_nullable => 1, size => 64 },
110 "old_molecule_id",
111 { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 1 },
112 "new_molecule_id",
113 { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 1 },
114 "comment",
115 { data_type => "text", is_nullable => 1 },
116 );
117  
118 =head1 PRIMARY KEY
119  
120 =over 4
121  
122 =item * L</id>
123  
124 =back
125  
126 =cut
127  
128 __PACKAGE__->set_primary_key("id");
129  
130 =head1 RELATIONS
131  
132 =head2 object
133  
134 Type: belongs_to
135  
136 Related object: L<Schema::RackTables::0_19_5::Result::RackObject>
137  
138 =cut
139  
140 __PACKAGE__->belongs_to(
141 "object",
142 "Schema::RackTables::0_19_5::Result::RackObject",
143 { id => "object_id" },
144 { is_deferrable => 1, on_delete => "CASCADE", on_update => "RESTRICT" },
145 );
146  
147  
148 # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:02:19
149 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:IsEp8/x4OnYrJd98ziEeQA
150  
151  
152 # You can replace this text with custom code or comments, and it will be preserved on regeneration
153 1;