blib/lib/Strehler/Schema/Result/ConfiguredTag.pm untested

filter: Statementstmt 0.0% 0 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 22 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 Strehler::Schema::Result::ConfiguredTag;
3 $Strehler::Schema::Result::ConfiguredTag::VERSION = '1.6.8';
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
6  
7 =head1 NAME
8  
9 Strehler::Schema::Result::ConfiguredTag
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<CONFIGURED_TAGS>
31  
32 =cut
33  
34 __PACKAGE__->table("CONFIGURED_TAGS");
35  
36 =head1 ACCESSORS
37  
38 =head2 id
39  
40 data_type: 'integer'
41 is_auto_increment: 1
42 is_nullable: 0
43  
44 =head2 tag
45  
46 data_type: 'varchar'
47 is_nullable: 1
48 size: 120
49  
50 =head2 category_id
51  
52 data_type: 'integer'
53 is_foreign_key: 1
54 is_nullable: 1
55  
56 =head2 item_type
57  
58 data_type: 'varchar'
59 is_nullable: 1
60 size: 20
61  
62 =head2 default_tag
63  
64 data_type: 'tinyint'
65 is_nullable: 1
66  
67 =cut
68  
69 __PACKAGE__->add_columns(
70 "id",
71 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
72 "tag",
73 { data_type => "varchar", is_nullable => 1, size => 120 },
74 "category_id",
75 { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
76 "item_type",
77 { data_type => "varchar", is_nullable => 1, size => 20 },
78 "default_tag",
79 { data_type => "tinyint", is_nullable => 1 },
80 );
81  
82 =head1 PRIMARY KEY
83  
84 =over 4
85  
86 =item * L</id>
87  
88 =back
89  
90 =cut
91  
92 __PACKAGE__->set_primary_key("id");
93  
94 =head1 RELATIONS
95  
96 =head2 category
97  
98 Type: belongs_to
99  
100 Related object: L<Strehler::Schema::Result::Category>
101  
102 =cut
103  
104 __PACKAGE__->belongs_to(
105 "category",
106 "Strehler::Schema::Result::Category",
107 { id => "category_id" },
108 {
109 is_deferrable => 1,
110 join_type => "LEFT",
111 on_delete => "RESTRICT",
112 on_update => "RESTRICT",
113 },
114 );
115  
116  
117 # Created by DBIx::Class::Schema::Loader v0.07037 @ 2014-03-15 15:14:27
118 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kEtonctS+TDN8ocgJtYRag
119  
120  
121 # You can replace this text with custom code or comments, and it will be preserved on regeneration
122  
123 1;