1 package TestApp::Schema::Role;
5 use base 'DBIx::Class';
7 __PACKAGE__->load_components(qw/ Core /);
9 __PACKAGE__->table( 'role' );
10 __PACKAGE__->add_columns( qw/id role/ );
11 __PACKAGE__->set_primary_key( 'id' );
13 #__PACKAGE__->has_many( map_user_role => 'TestApp::Schema::UserRole' => 'roleid' );