RackTables/0_20_2/Result/ObjectLog.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_20_2::Result::ObjectLog;
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_2::Result::ObjectLog
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<ObjectLog>
31  
32 =cut
33  
34 __PACKAGE__->table("ObjectLog");
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 extra: {unsigned => 1}
49 is_foreign_key: 1
50 is_nullable: 0
51  
52 =head2 user
53  
54 data_type: 'char'
55 is_nullable: 0
56 size: 64
57  
58 =head2 date
59  
60 data_type: 'datetime'
61 datetime_undef_if_invalid: 1
62 is_nullable: 0
63  
64 =head2 content
65  
66 data_type: 'text'
67 is_nullable: 0
68  
69 =cut
70  
71 __PACKAGE__->add_columns(
72 "id",
73 {
74 data_type => "integer",
75 extra => { unsigned => 1 },
76 is_auto_increment => 1,
77 is_nullable => 0,
78 },
79 "object_id",
80 {
81 data_type => "integer",
82 extra => { unsigned => 1 },
83 is_foreign_key => 1,
84 is_nullable => 0,
85 },
86 "user",
87 { data_type => "char", is_nullable => 0, size => 64 },
88 "date",
89 {
90 data_type => "datetime",
91 datetime_undef_if_invalid => 1,
92 is_nullable => 0,
93 },
94 "content",
95 { data_type => "text", is_nullable => 0 },
96 );
97  
98 =head1 PRIMARY KEY
99  
100 =over 4
101  
102 =item * L</id>
103  
104 =back
105  
106 =cut
107  
108 __PACKAGE__->set_primary_key("id");
109  
110 =head1 RELATIONS
111  
112 =head2 object
113  
114 Type: belongs_to
115  
116 Related object: L<Schema::RackTables::0_20_2::Result::Object>
117  
118 =cut
119  
120 __PACKAGE__->belongs_to(
121 "object",
122 "Schema::RackTables::0_20_2::Result::Object",
123 { id => "object_id" },
124 { is_deferrable => 1, on_delete => "CASCADE", on_update => "RESTRICT" },
125 );
126  
127  
128 # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:01:40
129 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1/9S4gqf3tF6jSpsYQLzOA
130  
131  
132 # You can replace this text with custom code or comments, and it will be preserved on regeneration
133 1;