RackTables/0_14_4/Result/UserAccount.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 22 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« RackTables/0_14_4/Result/RackSpace.pm ↑ Summary RackTables/0_14_4/Result/UserPermission.pm »
1 1 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 package Schema::RackTables::0_14_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_14_4::Result::UserAccount
10  
11 =cut
12  
13 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
15  
16 1 ▶use base 'DBIx::Class::Core';
Subroutine BEGIN: called CC=1 SCAR=0.0
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 1 __PACKAGE__->load_components("InflateColumn::DateTime");
29  
30 =head1 TABLE: C<UserAccount>
31  
32 =cut
33  
34 1 __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_enabled
52  
53 data_type: 'enum'
54 default_value: 'no'
55 extra: {list => ["yes","no"]}
56 is_nullable: 0
57  
58 =head2 user_password_hash
59  
60 data_type: 'char'
61 is_nullable: 1
62 size: 128
63  
64 =head2 user_realname
65  
66 data_type: 'char'
67 is_nullable: 1
68 size: 64
69  
70 =cut
71  
72 1 __PACKAGE__->add_columns(
73 "user_id",
74 {
75 data_type => "integer",
76 extra => { unsigned => 1 },
77 is_auto_increment => 1,
78 is_nullable => 0,
79 },
80 "user_name",
81 { data_type => "char", is_nullable => 0, size => 64 },
82 "user_enabled",
83 {
84 data_type => "enum",
85 default_value => "no",
86 extra => { list => ["yes", "no"] },
87 is_nullable => 0,
88 },
89 "user_password_hash",
90 { data_type => "char", is_nullable => 1, size => 128 },
91 "user_realname",
92 { data_type => "char", is_nullable => 1, size => 64 },
93 );
94  
95 =head1 PRIMARY KEY
96  
97 =over 4
98  
99 =item * L</user_id>
100  
101 =back
102  
103 =cut
104  
105 1 __PACKAGE__->set_primary_key("user_id");
106  
107 =head1 UNIQUE CONSTRAINTS
108  
109 =head2 C<user_name>
110  
111 =over 4
112  
113 =item * L</user_name>
114  
115 =back
116  
117 =cut
118  
119 1 __PACKAGE__->add_unique_constraint("user_name", ["user_name"]);
120  
121  
122 # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:11:48
123 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:2xT2ynI3OFF9eW+4UHRVng
124  
125  
126 # You can replace this text with custom code or comments, and it will be preserved on regeneration
127 1 1;
« RackTables/0_14_4/Result/RackSpace.pm ↑ Summary RackTables/0_14_4/Result/UserPermission.pm »