« lib/OpusVL/AppKit/Schema/AppKitAuthDB/Result/RoleAdmin.pm
↑ Summary
lib/OpusVL/AppKit/Schema/AppKitAuthDB/Result/User.pm »
| 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 | 12 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 12 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 12 | ▶ | use base 'DBIx::Class::Core'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | |||
| 12 | |||
| 13 | 12 | __PACKAGE__->table("roles_allowed"); | |
| 14 | |||
| 15 | |||
| 16 | 12 | __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 | 12 | __PACKAGE__->set_primary_key("role", "role_allowed"); | |
| 23 | |||
| 24 | |||
| 25 | 12 | __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 | 12 | __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 | 12 | 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 2.24 | ||
| 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 | OpusVL - www.opusvl.com | ||
| 97 | |||
| 98 | =head1 COPYRIGHT AND LICENSE | ||
| 99 | |||
| 100 | This software is copyright (c) 2010 by OpusVL - www.opusvl.com. | ||
| 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 | ||