RackTables/0_15_0/Result/Dictionary.pm untested

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