| 1 | package OpusVL::AppKit::Schema::AppKitAuthDB::Result::AclfeatureRole; | ||
| 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"); | ||
| 12 | |||
| 13 | |||
| 14 | __PACKAGE__->table("aclfeature_role"); | ||
| 15 | |||
| 16 | |||
| 17 | __PACKAGE__->add_columns( | ||
| 18 | "aclfeature_id", | ||
| 19 | { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, | ||
| 20 | "role_id", | ||
| 21 | { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, | ||
| 22 | ); | ||
| 23 | __PACKAGE__->set_primary_key("aclfeature_id", "role_id"); | ||
| 24 | |||
| 25 | |||
| 26 | __PACKAGE__->belongs_to( | ||
| 27 | "role", | ||
| 28 | "OpusVL::AppKit::Schema::AppKitAuthDB::Result::Role", | ||
| 29 | { id => "role_id" }, | ||
| 30 | { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, | ||
| 31 | ); | ||
| 32 | |||
| 33 | |||
| 34 | __PACKAGE__->belongs_to( | ||
| 35 | "aclfeature", | ||
| 36 | "OpusVL::AppKit::Schema::AppKitAuthDB::Result::Aclfeature", | ||
| 37 | { id => "aclfeature_id" }, | ||
| 38 | { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, | ||
| 39 | ); | ||
| 40 | |||
| 41 | |||
| 42 | # Created by DBIx::Class::Schema::Loader v0.07010 @ 2011-03-14 12:26:54 | ||
| 43 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:zPS+/kIqsqFWtQGjpZDqew | ||
| 44 | |||
| 45 | # You can replace this text with custom code or comments, and it will be preserved on regeneration | ||
| 46 | 1; | ||
| 47 | |||
| 48 | __END__ |