]>
Dogcows Code - chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate/blob - Twokeys.pm
7d71d01dd9e1d6ae3db356cef318a27010386f7c
1 package DBSchema
::Result
::Twokeys
;
3 # Created by DBIx::Class::Schema::Loader v0.03000 @ 2006-10-02 08:24:09
8 use base
'DBIx::Class';
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' },
16 __PACKAGE__-
>set_primary_key("dvd_name", "key2");
18 __PACKAGE__-
>add_relationship('like_belongs_to', 'DBSchema::Result::Dvd', { 'foreign.name' => 'self.dvd_name' }, );
This page took 0.034427 seconds and 3 git commands to generate.