blib/lib/OpusVL/AppKit/Schema/AppKitAuthDB/Result/UsersRole.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::UsersRole;
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_role");
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 "role_id",
26 {
27 data_type => "integer",
28 is_auto_increment => 1,
29 is_foreign_key => 1,
30 is_nullable => 0,
31 },
32 );
33 __PACKAGE__->set_primary_key("users_id", "role_id");
34  
35  
36 __PACKAGE__->belongs_to(
37 "role",
38 "OpusVL::AppKit::Schema::AppKitAuthDB::Result::Role",
39 { id => "role_id" },
40 { on_delete => "CASCADE", on_update => "CASCADE" },
41 );
42  
43  
44 __PACKAGE__->belongs_to(
45 "user",
46 "OpusVL::AppKit::Schema::AppKitAuthDB::Result::User",
47 { id => "users_id" },
48 { on_delete => "CASCADE", on_update => "CASCADE" },
49 );
50  
51  
52 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2010-05-24 11:55:45
53 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:UVVZaKhAChYZ6iGh5FTKvQ
54  
55 __END__
56  
57 =pod
58  
59 =encoding UTF-8
60  
61 =head1 NAME
62  
63 OpusVL::AppKit::Schema::AppKitAuthDB::Result::UsersRole
64  
65 =head1 VERSION
66  
67 version 2.24
68  
69 =head1 NAME
70  
71 OpusVL::AppKit::Schema::AppKitAuthDB::Result::UsersRole
72  
73 =head1 ACCESSORS
74  
75 =head2 users_id
76  
77 data_type: 'integer'
78 is_auto_increment: 1
79 is_foreign_key: 1
80 is_nullable: 0
81  
82 =head2 role_id
83  
84 data_type: 'integer'
85 is_auto_increment: 1
86 is_foreign_key: 1
87 is_nullable: 0
88  
89 =head1 RELATIONS
90  
91 =head2 role
92  
93 Type: belongs_to
94  
95 Related object: L<OpusVL::AppKit::Schema::AppKitAuthDB::Result::Role>
96  
97 =head2 user
98  
99 Type: belongs_to
100  
101 Related object: L<OpusVL::AppKit::Schema::AppKitAuthDB::Result::User>
102  
103 =head1 AUTHOR
104  
105 OpusVL - www.opusvl.com
106  
107 =head1 COPYRIGHT AND LICENSE
108  
109 This software is copyright (c) 2010 by OpusVL - www.opusvl.com.
110  
111 This is free software; you can redistribute it and/or modify it under
112 the same terms as the Perl 5 programming language system itself.
113  
114 =cut