3284fa1c979c29c697c9738b83aca7fd60619338
[chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate] / t / lib / DBSchema / Result / Personality.pm
1 package DBSchema::Result::Personality;
2
3 use strict;
4 use warnings;
5
6 use base 'DBIx::Class';
7
8 __PACKAGE__->load_components( "PK::Auto", "Core" );
9 __PACKAGE__->table("personality");
10 __PACKAGE__->add_columns( "user_id" => { data_type => 'integer' }, );
11 __PACKAGE__->set_primary_key("user_id");
12 __PACKAGE__->has_one( 'user', 'DBSchema::Result::User', {'user_id' => 'foreign.id'}, );
13
14 1;
15
This page took 0.029955 seconds and 3 git commands to generate.