| 1 | package OpusVL::AppKit::Schema::AppKitAuthDB::Result::Aclfeature; | ||
| 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"); | ||
| 15 | |||
| 16 | |||
| 17 | __PACKAGE__->add_columns( | ||
| 18 | "id", | ||
| 19 | { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, | ||
| 20 | "feature", | ||
| 21 | { data_type => "text", is_nullable => 0 }, | ||
| 22 | "feature_description", | ||
| 23 | { data_type => "text", is_nullable => 1 }, | ||
| 24 | ); | ||
| 25 | __PACKAGE__->set_primary_key("id"); | ||
| 26 | |||
| 27 | |||
| 28 | __PACKAGE__->has_many( | ||
| 29 | "aclfeature_roles", | ||
| 30 | "OpusVL::AppKit::Schema::AppKitAuthDB::Result::AclfeatureRole", | ||
| 31 | { "foreign.aclfeature_id" => "self.id" }, | ||
| 32 | { cascade_copy => 0, cascade_delete => 0 }, | ||
| 33 | ); | ||
| 34 | |||
| 35 | |||
| 36 | # Created by DBIx::Class::Schema::Loader v0.07010 @ 2011-03-14 12:26:54 | ||
| 37 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kXm7NSea55lahdQ68Z/l9A | ||
| 38 | |||
| 39 | __PACKAGE__->many_to_many( roles => 'aclfeature_roles', 'role'); | ||
| 40 | |||
| 41 | |||
| 42 | # You can replace this text with custom code or comments, and it will be preserved on regeneration | ||
| 43 | 1; | ||
| 44 | |||
| 45 | __END__ |