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