RackTables/0_19_14/Result/CactiGraph.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_14::Result::CactiGraph;
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_14::Result::CactiGraph
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<CactiGraph>
31  
32 =cut
33  
34 __PACKAGE__->table("CactiGraph");
35  
36 =head1 ACCESSORS
37  
38 =head2 object_id
39  
40 data_type: 'integer'
41 extra: {unsigned => 1}
42 is_foreign_key: 1
43 is_nullable: 0
44  
45 =head2 graph_id
46  
47 data_type: 'integer'
48 extra: {unsigned => 1}
49 is_nullable: 0
50  
51 =head2 caption
52  
53 data_type: 'char'
54 is_nullable: 1
55 size: 255
56  
57 =cut
58  
59 __PACKAGE__->add_columns(
60 "object_id",
61 {
62 data_type => "integer",
63 extra => { unsigned => 1 },
64 is_foreign_key => 1,
65 is_nullable => 0,
66 },
67 "graph_id",
68 { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 0 },
69 "caption",
70 { data_type => "char", is_nullable => 1, size => 255 },
71 );
72  
73 =head1 PRIMARY KEY
74  
75 =over 4
76  
77 =item * L</graph_id>
78  
79 =back
80  
81 =cut
82  
83 __PACKAGE__->set_primary_key("graph_id");
84  
85 =head1 RELATIONS
86  
87 =head2 object
88  
89 Type: belongs_to
90  
91 Related object: L<Schema::RackTables::0_19_14::Result::RackObject>
92  
93 =cut
94  
95 __PACKAGE__->belongs_to(
96 "object",
97 "Schema::RackTables::0_19_14::Result::RackObject",
98 { id => "object_id" },
99 { is_deferrable => 1, on_delete => "CASCADE", on_update => "RESTRICT" },
100 );
101  
102  
103 # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:02:36
104 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:92eq4n6gDCBjRs9UXTksSA
105  
106  
107 # You can replace this text with custom code or comments, and it will be preserved on regeneration
108 1;