Schema/AppKitAuthDB/Result/UsersParameter.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package OpusVL::AppKit::Schema::AppKitAuthDB::Result::UsersParameter;
2  
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
5  
6 use strict;
7 use warnings;
8  
9 use base 'DBIx::Class::Core';
10  
11 __PACKAGE__->load_components("InflateColumn::DateTime", "TimeStamp");
12  
13  
14 __PACKAGE__->table("users_parameter");
15  
16  
17 __PACKAGE__->add_columns(
18 "users_id",
19 {
20 data_type => "integer",
21 is_auto_increment => 1,
22 is_foreign_key => 1,
23 is_nullable => 0,
24 },
25 "parameter_id",
26 {
27 data_type => "integer",
28 is_auto_increment => 1,
29 is_foreign_key => 1,
30 is_nullable => 0,
31 },
32 "value",
33 { data_type => "text", is_nullable => 0 },
34 );
35 __PACKAGE__->set_primary_key("users_id", "parameter_id");
36  
37  
38 __PACKAGE__->belongs_to(
39 "parameter",
40 "OpusVL::AppKit::Schema::AppKitAuthDB::Result::Parameter",
41 { id => "parameter_id" },
42 { on_delete => "CASCADE", on_update => "CASCADE" },
43 );
44  
45  
46 __PACKAGE__->belongs_to(
47 "user",
48 "OpusVL::AppKit::Schema::AppKitAuthDB::Result::User",
49 { id => "users_id" },
50 { on_delete => "CASCADE", on_update => "CASCADE" },
51 );
52  
53  
54 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2010-05-24 11:55:45
55 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YLYPXNQEOKveZfYOnMwTuQ
56  
57 __END__
58  
59 =pod
60  
61 =encoding UTF-8
62  
63 =head1 NAME
64  
65 OpusVL::AppKit::Schema::AppKitAuthDB::Result::UsersParameter
66  
67 =head1 VERSION
68  
69 version 1
70  
71 =head1 NAME
72  
73 OpusVL::AppKit::Schema::AppKitAuthDB::Result::UsersParameter
74  
75 =head1 ACCESSORS
76  
77 =head2 users_id
78  
79 data_type: 'integer'
80 is_auto_increment: 1
81 is_foreign_key: 1
82 is_nullable: 0
83  
84 =head2 parameter_id
85  
86 data_type: 'integer'
87 is_auto_increment: 1
88 is_foreign_key: 1
89 is_nullable: 0
90  
91 =head2 value
92  
93 data_type: 'text'
94 is_nullable: 0
95  
96 =head1 RELATIONS
97  
98 =head2 parameter
99  
100 Type: belongs_to
101  
102 Related object: L<OpusVL::AppKit::Schema::AppKitAuthDB::Result::Parameter>
103  
104 =head2 user
105  
106 Type: belongs_to
107  
108 Related object: L<OpusVL::AppKit::Schema::AppKitAuthDB::Result::User>
109  
110 =head1 AUTHOR
111  
112 Colin Newell <colin@opusvl.com>
113  
114 =head1 COPYRIGHT AND LICENSE
115  
116 This software is copyright (c) 2016 by OpusVL.
117  
118 This is free software; you can redistribute it and/or modify it under
119 the same terms as the Perl 5 programming language system itself.
120  
121 =cut