blib/lib/Module/CPANTS/Schema/Author.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 19 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Module/CPANTS/Schema.pm ↑ Summary blib/lib/Module/CPANTS/Schema/Error.pm »
1 package Module::CPANTS::Schema::Author;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 ▶use base 'DBIx::Class';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 __PACKAGE__->load_components("ResultSetManager", "InflateColumn", "PK", "Core");
9 1 __PACKAGE__->table("author");
10 1 __PACKAGE__->add_columns(
11 "id",
12 {
13 data_type => "integer",
14 default_value => "nextval('author_id_seq'::regclass)",
15 is_nullable => 0,
16 size => 4,
17 },
18 "pauseid",
19 {
20 data_type => "text",
21 default_value => undef,
22 is_nullable => 1,
23 size => undef,
24 },
25 "name",
26 {
27 data_type => "text",
28 default_value => undef,
29 is_nullable => 1,
30 size => undef,
31 },
32 "email",
33 {
34 data_type => "text",
35 default_value => undef,
36 is_nullable => 1,
37 size => undef,
38 },
39 "average_kwalitee",
40 {
41 data_type => "numeric",
42 default_value => undef,
43 is_nullable => 1,
44 size => "3,6",
45 },
46 "num_dists",
47 { data_type => "integer", default_value => 0, is_nullable => 0, size => 4 },
48 "rank",
49 { data_type => "integer", default_value => 0, is_nullable => 0, size => 4 },
50 "prev_av_kw",
51 {
52 data_type => "numeric",
53 default_value => undef,
54 is_nullable => 1,
55 size => "3,6",
56 },
57 "prev_rank",
58 { data_type => "integer", default_value => 0, is_nullable => 0, size => 4 },
59 "average_total_kwalitee",
60 { data_type => "numeric", default_value => 0, is_nullable => 1, size => "3,6" },
61 );
62 1 __PACKAGE__->set_primary_key("id");
63  
64  
65 # Created by DBIx::Class::Schema::Loader v0.04004 @ 2008-06-03 23:19:44
66 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hi3+YjzjXeEJORZi0ZoOWg
67  
68 1 __PACKAGE__->has_many(
69 "dists",
70 "Module::CPANTS::Schema::Dist",
71 { "foreign.author" => "self.id" },
72 );
73 1 __PACKAGE__->has_many(
74 "history_authors",
75 "Module::CPANTS::Schema::HistoryAuthor",
76 { "foreign.author" => "self.id" },
77 );
78  
79  
80 # You can replace this text with custom content, and it will be preserved on regeneration
81 1 1;
« blib/lib/Module/CPANTS/Schema.pm ↑ Summary blib/lib/Module/CPANTS/Schema/Error.pm »