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