blib/lib/Strehler/Schema/Result/User.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 Strehler::Schema::Result::User;
3 $Strehler::Schema::Result::User::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::User
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<USERS>
31  
32 =cut
33  
34 __PACKAGE__->table("USERS");
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 user
45  
46 data_type: 'varchar'
47 is_nullable: 1
48 size: 50
49  
50 =head2 password_hash
51  
52 data_type: 'char'
53 is_nullable: 1
54 size: 31
55  
56 =head2 password_salt
57  
58 data_type: 'char'
59 is_nullable: 1
60 size: 22
61  
62 =head2 role
63  
64 data_type: 'varchar'
65 is_nullable: 1
66 size: 50
67  
68 =cut
69  
70 __PACKAGE__->add_columns(
71 "id",
72 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
73 "user",
74 { data_type => "varchar", is_nullable => 1, size => 50 },
75 "password_hash",
76 { data_type => "char", is_nullable => 1, size => 31 },
77 "password_salt",
78 { data_type => "char", is_nullable => 1, size => 22 },
79 "role",
80 { data_type => "varchar", is_nullable => 1, size => 50 },
81 );
82  
83 =head1 PRIMARY KEY
84  
85 =over 4
86  
87 =item * L</id>
88  
89 =back
90  
91 =cut
92  
93 __PACKAGE__->set_primary_key("id");
94  
95 =head1 UNIQUE CONSTRAINTS
96  
97 =head2 C<unique_user>
98  
99 =over 4
100  
101 =item * L</user>
102  
103 =back
104  
105 =cut
106  
107 __PACKAGE__->add_unique_constraint("unique_user", ["user"]);
108  
109  
110 # Created by DBIx::Class::Schema::Loader v0.07037 @ 2014-03-15 15:14:27
111 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ubaRR3LicWbngr//dE0JNA
112  
113  
114 # You can replace this text with custom code or comments, and it will be preserved on regeneration
115  
116 1;