blib/lib/RackTables/Schema/Result/ObjectLog.pm

filter: Statementstmt 100% 22 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 27 / 27 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/RackTables/Schema/Result/MountOperation.pm ↑ Summary blib/lib/RackTables/Schema/Result/ObjectParentCompat.pm »
1 package RackTables::Schema::Result::ObjectLog;
2  
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
5  
6 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 1 ▶use MooseX::NonMoose;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 1 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 1 extends 'DBIx::Class::Core';
13  
14  
15 =head1 NAME
16  
17 RackTables::Schema::Result::ObjectLog
18  
19 =cut
20  
21 1 __PACKAGE__->table("ObjectLog");
22  
23 =head1 ACCESSORS
24  
25 =head2 id
26  
27 data_type: 'integer'
28 extra: {unsigned => 1}
29 is_auto_increment: 1
30 is_nullable: 0
31  
32 =head2 object_id
33  
34 data_type: 'integer'
35 extra: {unsigned => 1}
36 is_foreign_key: 1
37 is_nullable: 0
38  
39 =head2 user
40  
41 data_type: 'char'
42 is_nullable: 0
43 size: 64
44  
45 =head2 date
46  
47 data_type: 'datetime'
48 datetime_undef_if_invalid: 1
49 is_nullable: 0
50  
51 =head2 content
52  
53 data_type: 'text'
54 is_nullable: 0
55  
56 =cut
57  
58 1 __PACKAGE__->add_columns(
59 "id",
60 {
61 data_type => "integer",
62 extra => { unsigned => 1 },
63 is_auto_increment => 1,
64 is_nullable => 0,
65 },
66 "object_id",
67 {
68 data_type => "integer",
69 extra => { unsigned => 1 },
70 is_foreign_key => 1,
71 is_nullable => 0,
72 },
73 "user",
74 { data_type => "char", is_nullable => 0, size => 64 },
75 "date",
76 {
77 data_type => "datetime",
78 datetime_undef_if_invalid => 1,
79 is_nullable => 0,
80 },
81 "content",
82 { data_type => "text", is_nullable => 0 },
83 );
84 1 __PACKAGE__->set_primary_key("id");
85  
86 =head1 RELATIONS
87  
88 =head2 object
89  
90 Type: belongs_to
91  
92 Related object: L<RackTables::Schema::Result::RackObject>
93  
94 =cut
95  
96 1 __PACKAGE__->belongs_to(
97 "object",
98 "RackTables::Schema::Result::RackObject",
99 { id => "object_id" },
100 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
101 );
102  
103  
104 # Created by DBIx::Class::Schema::Loader v0.07010 @ 2011-10-26 11:34:02
105 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:mZ4W1KYxNksD8Em6VCku/w
106  
107  
108 # You can replace this text with custom code or comments, and it will be preserved on regeneration
109 1 __PACKAGE__->meta->make_immutable;
110 1 1;
« blib/lib/RackTables/Schema/Result/MountOperation.pm ↑ Summary blib/lib/RackTables/Schema/Result/ObjectParentCompat.pm »