ExpenseTracker/Models/Result/Currency.pm untested

filter: Statementstmt 0.0% 0 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 26 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 ExpenseTracker::Models::Result::Currency;
3 {
4 $ExpenseTracker::Models::Result::Currency::VERSION = '0.008';
5 }
6 {
7 $ExpenseTracker::Models::Result::Currency::VERSION = '0.008';
8 }
9  
10 # Created by DBIx::Class::Schema::Loader
11 # DO NOT MODIFY THE FIRST PART OF THIS FILE
12  
13 =head1 NAME
14  
15 ExpenseTracker::Models::Result::Currency
16  
17 =head1 VERSION
18  
19 version 0.008
20  
21 =cut
22  
23 use strict;
24 use warnings;
25  
26 use base 'DBIx::Class::Core';
27  
28 =head1 TABLE: C<currencies>
29  
30 =cut
31  
32 __PACKAGE__->table("currencies");
33  
34 =head1 ACCESSORS
35  
36 =head2 id
37  
38 data_type: 'integer'
39 is_auto_increment: 1
40 is_nullable: 0
41  
42 =head2 name
43  
44 data_type: 'varchar'
45 is_nullable: 0
46  
47 =head2 created_at
48  
49 data_type: 'datetime'
50 is_nullable: 0
51  
52 =cut
53  
54 __PACKAGE__->add_columns(
55 "id",
56 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
57 "name",
58 { data_type => "varchar", is_nullable => 0 },
59 "created_at",
60 { data_type => "datetime", is_nullable => 0 },
61 );
62  
63 =head1 PRIMARY KEY
64  
65 =over 4
66  
67 =item * L</id>
68  
69 =back
70  
71 =cut
72  
73 __PACKAGE__->set_primary_key("id");
74  
75 =head1 UNIQUE CONSTRAINTS
76  
77 =head2 C<name_unique>
78  
79 =over 4
80  
81 =item * L</name>
82  
83 =back
84  
85 =cut
86  
87 __PACKAGE__->add_unique_constraint("name_unique", ["name"]);
88  
89  
90 # Created by DBIx::Class::Schema::Loader v0.07017 @ 2012-07-08 11:25:25
91 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qgVf69rpVeN01oZaokn4Sw
92  
93  
94 # You can replace this text with custom code or comments, and it will be preserved on regeneration
95 __PACKAGE__->has_many(operations => 'ExpenseTracker::Models::Result::Operation', 'currency_id');
96 1;