]> Dogcows Code - chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate/blob - Twokeys.pm
7d71d01dd9e1d6ae3db356cef318a27010386f7c
[chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate] / Twokeys.pm
1 package DBSchema::Result::Twokeys;
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("twokeys");
12 __PACKAGE__->add_columns(
13 "dvd_name" => { data_type => 'varchar', size => 100 },
14 "key2" => { data_type => 'integer' },
15 );
16 __PACKAGE__->set_primary_key("dvd_name", "key2");
17
18 __PACKAGE__->add_relationship('like_belongs_to', 'DBSchema::Result::Dvd', { 'foreign.name' => 'self.dvd_name' }, );
19
20
21 1;
22
This page took 0.034427 seconds and 3 git commands to generate.