RackTables/0_16_1/Result/Chapter.pm untested

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 23 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_16_1::Result::Chapter;
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_16_1::Result::Chapter
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<Chapter>
31  
32 =cut
33  
34 __PACKAGE__->table("Chapter");
35  
36 =head1 ACCESSORS
37  
38 =head2 chapter_no
39  
40 data_type: 'integer'
41 extra: {unsigned => 1}
42 is_auto_increment: 1
43 is_nullable: 0
44  
45 =head2 sticky
46  
47 data_type: 'enum'
48 default_value: 'no'
49 extra: {list => ["yes","no"]}
50 is_nullable: 1
51  
52 =head2 chapter_name
53  
54 data_type: 'char'
55 is_nullable: 0
56 size: 128
57  
58 =cut
59  
60 __PACKAGE__->add_columns(
61 "chapter_no",
62 {
63 data_type => "integer",
64 extra => { unsigned => 1 },
65 is_auto_increment => 1,
66 is_nullable => 0,
67 },
68 "sticky",
69 {
70 data_type => "enum",
71 default_value => "no",
72 extra => { list => ["yes", "no"] },
73 is_nullable => 1,
74 },
75 "chapter_name",
76 { data_type => "char", is_nullable => 0, size => 128 },
77 );
78  
79 =head1 PRIMARY KEY
80  
81 =over 4
82  
83 =item * L</chapter_no>
84  
85 =back
86  
87 =cut
88  
89 __PACKAGE__->set_primary_key("chapter_no");
90  
91 =head1 UNIQUE CONSTRAINTS
92  
93 =head2 C<chapter_name>
94  
95 =over 4
96  
97 =item * L</chapter_name>
98  
99 =back
100  
101 =cut
102  
103 __PACKAGE__->add_unique_constraint("chapter_name", ["chapter_name"]);
104  
105  
106 # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:04:55
107 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:k20/33Gnzj5OQkk5py9gag
108  
109  
110 # You can replace this text with custom code or comments, and it will be preserved on regeneration
111 1;