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