Schema/AppKitAuthDB/Result/RoleAllowed.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::RoleAllowed;
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  
12  
13 __PACKAGE__->table("roles_allowed");
14  
15  
16 __PACKAGE__->add_columns(
17 "role",
18 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
19 "role_allowed",
20 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
21 );
22 __PACKAGE__->set_primary_key("role", "role_allowed");
23  
24  
25 __PACKAGE__->belongs_to(
26 "role_allowed",
27 "OpusVL::AppKit::Schema::AppKitAuthDB::Result::Role",
28 { id => "role_allowed" },
29 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
30 );
31  
32  
33 __PACKAGE__->belongs_to(
34 "role",
35 "OpusVL::AppKit::Schema::AppKitAuthDB::Result::Role",
36 { id => "role" },
37 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
38 );
39  
40  
41 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2011-01-10 11:58:33
42 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Fm3ouMScUWfvv8UV1adWXA
43  
44  
45 # You can replace this text with custom content, and it will be preserved on regeneration
46 1;
47  
48 __END__
49  
50 =pod
51  
52 =encoding UTF-8
53  
54 =head1 NAME
55  
56 OpusVL::AppKit::Schema::AppKitAuthDB::Result::RoleAllowed
57  
58 =head1 VERSION
59  
60 version 1
61  
62 =head1 NAME
63  
64 OpusVL::AppKit::Schema::AppKitAuthDB::Result::RoleAllowed
65  
66 =head1 ACCESSORS
67  
68 =head2 role
69  
70 data_type: 'integer'
71 is_foreign_key: 1
72 is_nullable: 0
73  
74 =head2 role_allowed
75  
76 data_type: 'integer'
77 is_foreign_key: 1
78 is_nullable: 0
79  
80 =head1 RELATIONS
81  
82 =head2 role_allowed
83  
84 Type: belongs_to
85  
86 Related object: L<OpusVL::AppKit::Schema::AppKitAuthDB::Result::Role>
87  
88 =head2 role
89  
90 Type: belongs_to
91  
92 Related object: L<OpusVL::AppKit::Schema::AppKitAuthDB::Result::Role>
93  
94 =head1 AUTHOR
95  
96 Colin Newell <colin@opusvl.com>
97  
98 =head1 COPYRIGHT AND LICENSE
99  
100 This software is copyright (c) 2016 by OpusVL.
101  
102 This is free software; you can redistribute it and/or modify it under
103 the same terms as the Perl 5 programming language system itself.
104  
105 =cut