blib/lib/Strehler/Schema/RSS/Result/RsschannelHeader.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::RSS::Result::RsschannelHeader;
3 $Strehler::Schema::RSS::Result::RsschannelHeader::VERSION = '1.1.2';
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::RSS::Result::RsschannelHeader
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<RSSCHANNEL_HEADERS>
31  
32 =cut
33  
34 __PACKAGE__->table("RSSCHANNEL_HEADERS");
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 rsschannel
45  
46 data_type: 'integer'
47 is_foreign_key: 1
48 is_nullable: 1
49  
50 =head2 title
51  
52 data_type: 'varchar'
53 is_nullable: 1
54 size: 120
55  
56 =head2 description
57  
58 data_type: 'varchar'
59 is_nullable: 1
60 size: 100
61  
62 =head2 slug
63  
64 data_type: 'varchar'
65 is_nullable: 1
66 size: 120
67  
68 =head2 language
69  
70 data_type: 'varchar'
71 is_nullable: 1
72 size: 2
73  
74 =cut
75  
76 __PACKAGE__->add_columns(
77 "id",
78 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
79 "rsschannel",
80 { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
81 "title",
82 { data_type => "varchar", is_nullable => 1, size => 120 },
83 "description",
84 { data_type => "varchar", is_nullable => 1, size => 100 },
85 "slug",
86 { data_type => "varchar", is_nullable => 1, size => 120 },
87 "language",
88 { data_type => "varchar", is_nullable => 1, size => 2 },
89 );
90  
91 =head1 PRIMARY KEY
92  
93 =over 4
94  
95 =item * L</id>
96  
97 =back
98  
99 =cut
100  
101 __PACKAGE__->set_primary_key("id");
102  
103 =head1 RELATIONS
104  
105 =head2 rsschannel
106  
107 Type: belongs_to
108  
109 Related object: L<Strehler::Schema::RSS::Result::Rsschannel>
110  
111 =cut
112  
113 __PACKAGE__->belongs_to(
114 "rsschannel",
115 "Strehler::Schema::RSS::Result::Rsschannel",
116 { id => "rsschannel" },
117 {
118 is_deferrable => 1,
119 join_type => "LEFT",
120 on_delete => "RESTRICT",
121 on_update => "RESTRICT",
122 },
123 );
124  
125  
126 # Created by DBIx::Class::Schema::Loader v0.07037 @ 2015-06-10 00:57:59
127 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Gq4nlOw29xMLbAimWr4vCA
128  
129  
130 # You can replace this text with custom code or comments, and it will be preserved on regeneration
131 1;