]> Dogcows Code - chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate/blob - t/lib/DBSchema/Result/UserRole.pm
Initial
[chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate] / t / lib / DBSchema / Result / UserRole.pm
1 package DBSchema::Result::UserRole;
2
3 # Created by DBIx::Class::Schema::Loader v0.03000 @ 2006-10-02 08:24:09
4
5 use strict;
6 use warnings;
7
8 use base 'DBIx::Class';
9
10 __PACKAGE__->load_components("PK::Auto", "Core");
11 __PACKAGE__->table("user_role");
12 __PACKAGE__->add_columns(
13 "user" => { data_type => 'integer' } ,
14 "role" => { data_type => 'integer' }
15 );
16 __PACKAGE__->set_primary_key("user", "role");
17 __PACKAGE__->belongs_to("user", "User", { id => "user" });
18 __PACKAGE__->belongs_to("role", "Role", { id => "role" });
19
20 1;
21
This page took 0.033944 seconds and 4 git commands to generate.